OK, I know this post has been made 1000x probably, but I cannot find a search function for this forum…and, well, I think I’ve tried everything I can find to fix this.
Anyway, I am sure my name/pass/db name are correct in the install.php file. Additionally, I am almost certain that localhost is correct for the Host…
I am running Apache on Mac OS X.5.6 Server. Additionally, I am using MAMP for mySQL and PHP…
So far I have tried capitalizing Localhost, changing the socket info in the mySQL_socket in the php.ini file to tmp/mysql.sock and var/mysql/mysql.sock, I have tried using localhost:portnum, and I have tried using the SQL command OLD_PASSWORD with my wordpress user. All to no avail. Are there other possibilities that could be causing this?
Please, this is driving me nutz!!! 😉
Thanks in advance,
- The topic ‘Error establishing a database connection’ is closed to new replies.