Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thanks James!
    It seems that it was classical case.
    Web application was unable to connect into mysql through /opt/local/var/run/mysql5/mysqld.sock

    Problem was solved with chmod o+x /opt/local/var/run/mysql5

    Version: wordpress @2.0.4_0 (active)
    Platform: Mac OS X 10.4.8
    Installation media: macports
    Dependencies:
    apache2 @2.2.2_1 (active)
    mysql5 @5.0.27_0+darwin_8+server (active)
    php5 @5.2.0_0+apache2+darwin_8+macosx+mysql5 (active)

    Steps:
    – mysql passwords changed
    – ‘create wordpress’ command given
    – symlink created from my DocumentRoot/blog to wordpress
    – ‘AddType application/x-httpd-php .php’ added into httpd.conf
    – wp-config.php command has been edited
    – phpinfo checked to verify that mysql is supported

    Problem:

    When I try to access https://myserver/blog/wp-admin/install.php, I get ‘Error establishing a database connection’ blah, blah, blah.

    If I try to run ‘php install.php’ from command line, it would be more than glad to continue into second step. If I try to access wordpress with “mysql5 -u root -p -h localhost wordpress” from command line, all works beatifully.

    Any ideas?

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