• <********* ERROR *********>
    Error establishing a database connection! This probably means that the connection information in your wp-config.php file is incorrect. Double check it and try again.
    Are you sure you have the correct user/password?
    Are you sure that you have typed the correct hostname?
    Are you sure that the database server is running?
    <********* MY URL *********>
    http://localhost/blog/wordpress/wp-admin/install.php
    <********* MY SETTINGS IN wp-config.php *********>
    define(‘DB_NAME’, ‘myblog’); // The name of the database
    define(‘DB_USER’, ‘blog’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘hide’); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
    $table_prefix = ‘ad_’; // example: ‘wp_’ or ‘b2’ or ‘mylogin_’
    define (‘WPLANG’, ”);
    <********* WHAT I DID *********>
    I tried everything in one of the posting I read in this form, including what ever was told in install guide. I created a catalog in mysql with the name myblog, gave all the rights to the user blog. I can connect user blog with line command tool (mysql.exe) but not using website.
    <********* SOFTWARE/HARDWARE *********>
    Windows XP -sp2 (en-us)
    PHP version 4.3.9
    IIS
    MySql Administrator version 1.0.14
    MySql version 4.1
    MySql server port 3306
    I have AMD Athlon XP 2800+ (2.08 Ghz) with 960MB RAM
    <********* NOTES *********>
    PHP is working fine, and IIS is handling PHP great. MySql is running fine. IIS is running on localhost.

Viewing 6 replies - 1 through 6 (of 6 total)
  • When you say MySQL is running fine, does that mean you have it running as a service? If you’re not sure, at a command prompt type:
    net start
    This will output all running services. To start it as a service, type:
    net start mysql

    Thread Starter pohihihi

    (@pohihihi)

    Yes, MySql service is running fine (I have named it MySql41).
    For the full path of DB, I am trying to put blog on intranet. So basically URL will be localhost (or my computer name). I tried all this —
    pohihihi_-_myblog
    pohihihi_myblog
    pohihihi-myblog
    Nothing worked.

    I was having similar problems. I read a post that suggested going back to MySQL 4.0.22 and that seemed to fix it for me. Just a suggestion.

    Thread Starter pohihihi

    (@pohihihi)

    I uninstalled and installed 4.0.22 and changed the hostname from localhost to my machine name and all started working fine.
    But,
    when I try to see pages, it says you are not authorized to view this page !!!
    Any idea why?

    Samething happening to me at crossvillenazarene.org

    pohihihi,
    This sounds like a problem associated with the directory on IIS. Under “Documents” in the property settings of the website in IIS, do you have “index.php” as the first document in the list? Double check to ensure that your directory which IIS uses to access “index.php” is correct. Double check the permissions on the folder where the “index.php” file is located and make sure that the “IUSER_YourServerName” has “read” permissions for that directory. While you are at it, if you want to upload files via your blog, then you will have to set write permissions for that directory.

    I had a terrible time with MySQL 4.1 , I dropped back to 4.023–it may have been 4.022, but whose counting–and everything worked fine. Then, because I cannot sleep until I find the culprit to a computer related problem, I uninstalled 4.022/23 and reinstalled 4.1 to prove my theory that 4.1 just ain’t cuttin’ it!! I really think the problem with 4.1 is that it does not install to the directory of “c:\MySQL\bin”, rather, it installs to “program files”. I hope this bit of info helps ya along..

    LF
    http://journal.veryfinephotos.com

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WinXP: Problem Connection Database’ is closed to new replies.