Database Connection Problem (password ?)
I am relatively new and this (and even newer with my Mac X.4.3).
I have followed http://maczealots.com/tutorials/wordpress/ guide for installing PHP/mySQL. I believe to have the foundation established correctly (if I run a test PHP page, I get the right output). I have a database created called ‘wordpress’. I have changed my wp-config.php file to define the name, user (as root), and my password (which works in the shell command). the host is set to localhost.
However, when I go to install.php, I get an “Error establishing a database connection”.
I am running mySQL 4.1.15 — I have read of some people warning against using anything about 4.0, however, I could get any of the downloaded files from mySQL to install from 4.0 and went with 4.1. I also have read the Install_Guide on the codex and tried to use the suggestion for enabling correct permissions … however, I can’t get the code to run correctly: after the “GRANT ALL PRIVILEGES” and “IDENTIFIED BY” code, I don’t get an OK — I get another “->”.
So: I guess I am sort of lost as to what I should do.
do you have any suggestions ?
PS: I don’t know if it was clear or not, but I am doing a local installation — I want to test it out and get it running before I put it live. Thanks!
- The topic ‘Database Connection Problem (password ?)’ is closed to new replies.