Error: “Error establishing a database connection”
-
I’m attempting to install WordPress on my local Macintosh (Intel-based). I am having trouble with getting install.php to run; it gives the subject line as the error message and in troubleshooting tells me that perhaps MySQL isn’t running or the wp-config.php file has incorrect information.
I triple checked the wp-config information for spaces, and when I issue the “mysql -u root -p” command I can log in as that user with the specified password just fine.
I create a test.php file and it rendered in apache, saying it was version 4.4.1.
My version information
MySQL:
/usr/local/mysql/bin/mysqld Ver 5.0.24-standard for apple-darwin8.5.1 on i686 (MySQL Community Edition – Standard (GPL))PHP:
PHP 4.4.1 (cli) (built: Mar 12 2006 16:47:35)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend TechnologiesOS:
Darwin Obi-Wan.local 8.7.1 Darwin Kernel Version 8.7.1: Wed Jun 7 16:19:56 PDT 2006; root:xnu-792.9.72.obj~2/RELEASE_I386 i386 i386
OS X 10.4.7Apache is the version that came with OS X, as is the PHP modules (just uncommented some items from http.conf).
I have one user configured in the database (root) and the only thing this database engine would be used for, as far as I know in the short term, is using this blog. Can anyone help guide me through what steps are needed to get PHP talking to the INTEL-verson of MySQL for the Mac?
The topic ‘Error: “Error establishing a database connection”’ is closed to new replies.