N_Jay
01-23-2004, 09:54 PM
I have just moved my test installation from one server to another.
The original was running Linux, and the new is running Windows (Apache/PHP/MySQL).
After moving the files, I created a new database with the same name, and created a user with the same user name and password.
I made the minor IP and DIR changes to the config files.
And this is what I get;
Warning: mysql_connect(): Access denied for user: 'apache@localhost' (Using password: YES) in G:\Apache2\htdocs\forums\admin\db_mysql.php on line 40
Now apache is the database user name (I know this works because I used the same name and password with a virgin installation on the Windows box).
I have recreated the password and even the whole user several times, even reloading a fresh copy of the transfered database. (the password is simple to keep typos from being an issue)
WTF am I doing wrong?????
The original was running Linux, and the new is running Windows (Apache/PHP/MySQL).
After moving the files, I created a new database with the same name, and created a user with the same user name and password.
I made the minor IP and DIR changes to the config files.
And this is what I get;
Warning: mysql_connect(): Access denied for user: 'apache@localhost' (Using password: YES) in G:\Apache2\htdocs\forums\admin\db_mysql.php on line 40
Now apache is the database user name (I know this works because I used the same name and password with a virgin installation on the Windows box).
I have recreated the password and even the whole user several times, even reloading a fresh copy of the transfered database. (the password is simple to keep typos from being an issue)
WTF am I doing wrong?????