• Resolved royshap

    (@royshap)


    I got everything installed, configuration is set properly, this is not the first blog i am installing, but it is a new server, i think i am missing something but not sure what, would appreciate any help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter royshap

    (@royshap)

    maybe im not being really direct but it’s cause im not sure how.

    I got a new server, centos 5.4 installed
    i have installed apache, php, mysql. everything is up and running and working fine.
    i download latest.zip, set the wp-config.php as i usually do.
    set up new databse, new database user with permission to all.

    then when i go to the websites, Error establishing a database connection

    I have another server with like 30 blogs, all set up the same way, only difference is the other one is Debian and this one is Centos.

    If anyone have any idea what it could be, i have searched other posts, and read installation manual and etc yet nothing worked.

    Thread Starter royshap

    (@royshap)

    OK, so, ive been looking around a bit, same problem seem to have been resolved to many people by running this line

    SET PASSWORD FOR some_user@some_host = OLD_PASSWORD(‘your_old password_here’);

    Yet, it didn’t work for me, but i found how to make it work.

    I changed the hosts of the mysql user i creat, instead of “any”, i set it only to “localhost” and that seem to solve the problem, not sure how it started initially cause in my other server i just put “any” and it works.

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

The topic ‘Error establishing a database connection – centos5.4’ is closed to new replies.