• Resolved fastbob

    (@fastbob)


    I’m trying to install 2.7.1 using PHP 4.4.7 on Linux with MySQL 5.0.16, a system that currently supports another PHP application (SugarCRM) and other applications. WordPress cannot seem to connect to the database. I’ve tried creating the wp-config.php file manually as well as from the web interface. I’ve tried using a new database/username/password as well as an existing database that I know works. WordPress cannot connect.

    Is there some way I can diagnose what is going on with the configuration? Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • whooami

    (@whooami)

    wordpress does that for you — it tells you the problem.

    Thread Starter fastbob

    (@fastbob)

    Yes, it does tell me it cannot connect. But why? There can be a multitude of reasons why a connection fails. This is like telling a mechanic your car doesn’t move forward. A little more information would help to differentiate between a flat tire, the engine on fire, out of gas, etc.

    I’ve checked the obvious several times – username, password, and database name. Localhost is correct and the database is up. Another PHP app came up without problems on the same system. So what’s the problem with WP?

    Thread Starter fastbob

    (@fastbob)

    Is there a particular PHP module I should examine? Is there tracing code I can turn on someplace? Thanks.

    Thread Starter fastbob

    (@fastbob)

    I found out that the path to the mysql socket is different than most systems, so the solution was to use a named host rather than localhost.

    I know this is resolved but this is my gripe too – yes it can’t connect to the host… but why? and where is it failing?

    More info for the wordpress uninitiated!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Understanding DB setup issues’ is closed to new replies.