Posted by:
Saj
(---.range86-150.btcentralplus.com)
Hello,
I've just updated from WAMP 1.6x. Before doing so, I:
1. Made a backup of the www folder (my site directory);
2. Made a backup of the mysql/data folder.
I then removed WAMP via the control panel, deleted the entire WAMP directory and restarted the computer. I then installed WAMP 1.7.2 to C:\Program Files\Wamp
I then copied the back up files into the respective places in the new install. Although the PHP pages parse correctly, any page containing MySQL render a variation of the following errors:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'george'@'localhost' (using password: YES) in C:\Program Files\Wamp\www\george\forum\db\mysql4.php on line 48
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in C:\Program Files\Wamp\www\george\forum\db\mysql4.php on line 330
Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in C:\Program Files\Wamp\www\george\forum\db\mysql4.php on line 331
phpBB : Critical Error
Could not connect to the database
or
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'george'@'localhost' (using password: YES) in C:\Program Files\Wamp\www\george\assets\scripts\db_connect.php on line 9
Access denied for user 'george'@'localhost' (using password: YES)
Having perused the forums I understand the above is related to the way MySQL handles username/password encryption, but I still do not really understand how to fix this. Can anyone guide me please? (I'm relatively inexperienced MySQL wise, so a little spoon feeding would be appreciated).
Great work on Wamp, btw.
--Edit--
The mysql error log file shows:
070617 0:14:58 InnoDB: Started; log sequence number 0 43655
070617 0:14:58 [Note] C:\Program Files\Wamp\mysql\bin\mysqld-nt.exe: ready for connections.
Version: '5.0.41-community-nt' socket: '' port: 3306 MySQL Community Edition (GPL)
070617 0:19:45070617 0:19:45 [ERROR] Cannot find table forum2/acl_groups from the internal data dictionary
of InnoDB though the .frm file for the table exists. Maybe you
have deleted and recreated InnoDB data files but have forgotten
to delete the corresponding .frm files of InnoDB tables, or you
have moved .frm files to another database?
See [
dev.mysql.com]
how you can resolve the problem.
Post Edited (06-17-07 01:57)