February 16, 2010 10:39PM
Thanks Amour. I didn't know that this is the MySQL log. Doh! Here's the log:
100214 0:55:56 [Note] Plugin 'FEDERATED' is disabled.
C:\PROGRA~1\EASYPH~1.0\MySql\bin\mysqld.exe: Table 'mysql.plugin' doesn't exist
100214 0:55:56 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
InnoDB: The first specified data file .\ibdata1 did not exist:
InnoDB: a new database to be created!
100214 0:55:56 InnoDB: Setting file .\ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
100214 0:55:57 InnoDB: Log file .\ib_logfile0 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
100214 0:55:58 InnoDB: Log file .\ib_logfile1 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
100214 0:55:59 InnoDB: Started; log sequence number 0 0
100214 0:55:59 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
100214 0:56:00 [Note] Plugin 'FEDERATED' is disabled.
C:\PROGRA~1\EASYPH~1.0\MySql\bin\mysqld.exe: Table 'mysql.plugin' doesn't exist
100214 0:56:00 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
InnoDB: Log scan progressed past the checkpoint lsn 0 37356
100214 0:56:00 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
InnoDB: Doing recovery: scanned up to log sequence number 0 44233
100214 0:56:00 InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
100214 0:56:01 InnoDB: Started; log sequence number 0 44233
100214 0:56:01 [Note] Recovering after a crash using mysql-bin
100214 0:56:01 [Note] Starting crash recovery...
100214 0:56:01 [Note] Crash recovery finished.
100214 0:56:01 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
100214 0:56:25 [Note] Plugin 'FEDERATED' is disabled.
C:\PROGRA~1\EASYPH~1.0\MySql\bin\mysqld.exe: Table 'mysql.plugin' doesn't exist
100214 0:56:25 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
InnoDB: Log scan progressed past the checkpoint lsn 0 37356
100214 0:56:25 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
InnoDB: Doing recovery: scanned up to log sequence number 0 44233
100214 0:56:25 InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
100214 0:56:25 InnoDB: Started; log sequence number 0 44233
100214 0:56:25 [Note] Recovering after a crash using mysql-bin
100214 0:56:25 [Note] Starting crash recovery...
100214 0:56:25 [Note] Crash recovery finished.
100214 0:56:25 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
100214 12:39:41 [Note] Plugin 'FEDERATED' is disabled.
C:\PROGRA~1\EASYPH~1.0\MySql\bin\mysqld.exe: Table 'mysql.plugin' doesn't exist
100214 12:39:41 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
InnoDB: Log scan progressed past the checkpoint lsn 0 37356
100214 12:39:41 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
InnoDB: Doing recovery: scanned up to log sequence number 0 44233
100214 12:39:42 InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
100214 12:39:42 InnoDB: Started; log sequence number 0 44233
100214 12:39:42 [Note] Recovering after a crash using mysql-bin
100214 12:39:42 [Note] Starting crash recovery...
100214 12:39:42 [Note] Crash recovery finished.
100214 12:39:42 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
100214 12:39:43 [Note] Plugin 'FEDERATED' is disabled.
C:\PROGRA~1\EASYPH~1.0\MySql\bin\mysqld.exe: Table 'mysql.plugin' doesn't exist
100214 12:39:43 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
InnoDB: Log scan progressed past the checkpoint lsn 0 37356
100214 12:39:43 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
InnoDB: Doing recovery: scanned up to log sequence number 0 44233
100214 12:39:43 InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
100214 12:39:44 InnoDB: Started; log sequence number 0 44233
100214 12:39:44 [Note] Recovering after a crash using mysql-bin
100214 12:39:44 [Note] Starting crash recovery...
100214 12:39:44 [Note] Crash recovery finished.
100214 12:39:44 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
100214 12:40:44 [Note] Plugin 'FEDERATED' is disabled.
C:\PROGRA~1\EASYPH~1.0\MySql\bin\mysqld.exe: Table 'mysql.plugin' doesn't exist
100214 12:40:44 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
InnoDB: Log scan progressed past the checkpoint lsn 0 37356
100214 12:40:44 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
InnoDB: Doing recovery: scanned up to log sequence number 0 44233
100214 12:40:44 InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
100214 12:40:45 InnoDB: Started; log sequence number 0 44233
100214 12:40:45 [Note] Recovering after a crash using mysql-bin
100214 12:40:45 [Note] Starting crash recovery...
100214 12:40:45 [Note] Crash recovery finished.
100214 12:40:45 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
100214 12:52:11 [Note] Plugin 'FEDERATED' is disabled.
C:\PROGRA~1\EASYPH~1.0\MySql\bin\mysqld.exe: Table 'mysql.plugin' doesn't exist
100214 12:52:11 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
InnoDB: Log scan progressed past the checkpoint lsn 0 37356
100214 12:52:11 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
InnoDB: Doing recovery: scanned up to log sequence number 0 44233
100214 12:52:11 InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
100214 12:52:11 InnoDB: Started; log sequence number 0 44233
100214 12:52:11 [Note] Recovering after a crash using mysql-bin
100214 12:52:11 [Note] Starting crash recovery...
100214 12:52:11 [Note] Crash recovery finished.
100214 12:52:11 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
100214 13:20:34 [Note] Plugin 'FEDERATED' is disabled.
C:\PROGRA~1\EASYPH~1.0\MySql\bin\mysqld.exe: Table 'mysql.plugin' doesn't exist
100214 13:20:35 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
InnoDB: Log scan progressed past the checkpoint lsn 0 37356
100214 13:20:35 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
InnoDB: Doing recovery: scanned up to log sequence number 0 44233
100214 13:20:35 InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
100214 13:20:35 InnoDB: Started; log sequence number 0 44233
100214 13:20:35 [Note] Recovering after a crash using mysql-bin
100214 13:20:35 [Note] Starting crash recovery...
100214 13:20:35 [Note] Crash recovery finished.
100214 13:20:35 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
100214 13:20:36 [Note] Plugin 'FEDERATED' is disabled.
C:\PROGRA~1\EASYPH~1.0\MySql\bin\mysqld.exe: Table 'mysql.plugin' doesn't exist
100214 13:20:36 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
InnoDB: Log scan progressed past the checkpoint lsn 0 37356
100214 13:20:36 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
InnoDB: Doing recovery: scanned up to log sequence number 0 44233
100214 13:20:36 InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
100214 13:20:36 InnoDB: Started; log sequence number 0 44233
100214 13:20:36 [Note] Recovering after a crash using mysql-bin
100214 13:20:36 [Note] Starting crash recovery...
100214 13:20:36 [Note] Crash recovery finished.
100214 13:20:37 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
100214 13:26:27 [Note] Plugin 'FEDERATED' is disabled.
C:\PROGRA~1\EASYPH~1.0\MySql\bin\mysqld.exe: Table 'mysql.plugin' doesn't exist
100214 13:26:27 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
InnoDB: Log scan progressed past the checkpoint lsn 0 37356
100214 13:26:28 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
InnoDB: Doing recovery: scanned up to log sequence number 0 44233
100214 13:26:28 InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
100214 13:26:28 InnoDB: Started; log sequence number 0 44233
100214 13:26:28 [Note] Recovering after a crash using mysql-bin
100214 13:26:28 [Note] Starting crash recovery...
100214 13:26:28 [Note] Crash recovery finished.
100214 13:26:28 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
100214 13:26:29 [Note] Plugin 'FEDERATED' is disabled.
C:\PROGRA~1\EASYPH~1.0\MySql\bin\mysqld.exe: Table 'mysql.plugin' doesn't exist
100214 13:26:29 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
InnoDB: Log scan progressed past the checkpoint lsn 0 37356
100214 13:26:29 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
InnoDB: Doing recovery: scanned up to log sequence number 0 44233
100214 13:26:29 InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
100214 13:26:29 InnoDB: Started; log sequence number 0 44233
100214 13:26:29 [Note] Recovering after a crash using mysql-bin
100214 13:26:29 [Note] Starting crash recovery...
100214 13:26:30 [Note] Crash recovery finished.
100214 13:26:30 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
---------------end----------------
It looks like everything is from a couple of days ago though. I think the phpMyAdmin page has always been working (no problems). The latest thing I've tried is to: (1) Stop Apache and MySQL (2) Copy the entire contents of 'C:\Program Files\EasyPHP5.3.0\mysql\data' to 'F:\My Documents\EasyPHP5.3.0\mysql\data' (3) Change the "datadir" path to the new one in the MySQL config file (using forward slashes in the path) (4) Start MySQL and Apache.
When I did that, I did not get an error. However, when I checked to see if MySQL is writing new databases to the new location, I found it was still writing to the original path (even with that line commented out with '#' in the MySQL config file).
The MySQL config file (my.ini) looks like the following:
#Path to the database root
#datadir="${path}/mysql/data/"
datadir="F:/My Documents/EasyPHP5.3.0/mysql/data/"
I'm sure there's something I'm over looking. I wonder if the config file accepts spaces in the path name. Or, maybe I need to quit/restart EasyPHP itself, to make sure it is actually loading the changes made to the config file.