introduction screenshots faq forum blog modules components download
Please use the search function and/or read the FAQ first.

Go to Topic: PreviousNext
Go to: Message ListNew TopicSearchLog InPrint View

Unexpected end of MySql!



Posted by: geeksatlarge
February 14, 2010 10:35PM
I'm on a Win box running XP and need MySQL's 'datadir' at a different location other than the default. When I change 'datadir="C:/PROGRA~1/EASYPH~1.0/mysql/data/"' to 'datadir="F:/My Documents/EasyPHP5.3.0/mysql/data"' at 'C:\Program Files\EasyPHP5.3.0\conf_files\my.ini', I get the error message: "Unexpected end of MySql!". I Googled and found a reference saying to delete the old 'my.cnf' file. I searched and did not find that file on the system. I found another reference saying to run EasyPHP as "Administrator", but that didn't help either. Can the location of the databases be changed?
Options: ReplyQuote
Posted by: Amour
February 15, 2010 07:14AM
What is in MySQL log ?
Options: ReplyQuote
Posted by: geeksatlarge
February 15, 2010 07:24PM
Yes, I took a look at the log. However, I'm not experienced enough to know what to look for. The following is from the MySQL log:

100213 0:36:56 [Note] Plugin 'FEDERATED' is disabled.
InnoDB: The first specified data file .\ibdata1 did not exist:
InnoDB: a new database to be created!
100213 0:36:56 InnoDB: Setting file .\ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
100213 0:36:56 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...
100213 0:36:56 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
100213 0:36:57 InnoDB: Started; log sequence number 0 0
100213 0:36:57 [Note] Event Scheduler: Loaded 0 events
100213 0:36:57 [Note] C:\PROGRA~1\EASYPH~1.0\MySql\bin\mysqld.exe: ready for connections.
Version: '5.1.37-community-log' socket: '' port: 3306 MySQL Community Server (GPL)
100213 1:30:16 [Note] C:\PROGRA~1\EASYPH~1.0\MySql\bin\mysqld.exe: Normal shutdown

100213 1:30:16 [Note] Event Scheduler: Purging the queue. 0 events
100213 1:30:16 InnoDB: Starting shutdown...
100213 1:30:17 InnoDB: Shutdown completed; log sequence number 0 44233
100213 1:30:17 [Warning] Forcing shutdown of 1 plugins
100213 1:30:17 [Note] C:\PROGRA~1\EASYPH~1.0\MySql\bin\mysqld.exe: Shutdown complete

100214 0:15:33 [Note] Plugin 'FEDERATED' is disabled.
100214 0:15:34 InnoDB: Started; log sequence number 0 44233
100214 0:15:34 [Note] Event Scheduler: Loaded 0 events
100214 0:15:34 [Note] C:\PROGRA~1\EASYPH~1.0\MySql\bin\mysqld.exe: ready for connections.
Version: '5.1.37-community-log' socket: '' port: 3306 MySQL Community Server (GPL)
100214 0:53:20 [Note] C:\PROGRA~1\EASYPH~1.0\MySql\bin\mysqld.exe: Normal shutdown

100214 0:53:20 [Note] Event Scheduler: Purging the queue. 0 events
100214 0:53:21 InnoDB: Starting shutdown...
100214 0:53:21 InnoDB: Shutdown completed; log sequence number 0 44233
100214 0:53:21 [Warning] Forcing shutdown of 1 plugins
100214 0:53:21 [Note] C:\PROGRA~1\EASYPH~1.0\MySql\bin\mysqld.exe: Shutdown complete

100214 0:57:32 [Note] Plugin 'FEDERATED' is disabled.
100214 0:57:33 InnoDB: Started; log sequence number 0 44233
100214 0:57:33 [Note] Event Scheduler: Loaded 0 events
100214 0:57:33 [Note] C:\PROGRA~1\EASYPH~1.0\MySql\bin\mysqld.exe: ready for connections.
Version: '5.1.37-community-log' socket: '' port: 3306 MySQL Community Server (GPL)
100214 0:57:42 [Note] C:\PROGRA~1\EASYPH~1.0\MySql\bin\mysqld.exe: Normal shutdown

100214 0:57:42 [Note] Event Scheduler: Purging the queue. 0 events
100214 0:57:42 InnoDB: Starting shutdown...
100214 0:57:43 InnoDB: Shutdown completed; log sequence number 0 44233
100214 0:57:43 [Warning] Forcing shutdown of 1 plugins
100214 0:57:43 [Note] C:\PROGRA~1\EASYPH~1.0\MySql\bin\mysqld.exe: Shutdown complete

100214 0:57:53 [Note] Plugin 'FEDERATED' is disabled.
100214 0:57:53 InnoDB: Started; log sequence number 0 44233
100214 0:57:53 [Note] Event Scheduler: Loaded 0 events
100214 0:57:53 [Note] C:\PROGRA~1\EASYPH~1.0\MySql\bin\mysqld.exe: ready for connections.
Version: '5.1.37-community-log' socket: '' port: 3306 MySQL Community Server (GPL)
100214 0:59:03 [Note] C:\PROGRA~1\EASYPH~1.0\MySql\bin\mysqld.exe: Normal shutdown

100214 0:59:03 [Note] Event Scheduler: Purging the queue. 0 events
100214 0:59:03 InnoDB: Starting shutdown...
100214 0:59:04 InnoDB: Shutdown completed; log sequence number 0 44233
100214 0:59:04 [Warning] Forcing shutdown of 1 plugins
100214 0:59:04 [Note] C:\PROGRA~1\EASYPH~1.0\MySql\bin\mysqld.exe: Shutdown complete

100214 12:31:41 [Note] Plugin 'FEDERATED' is disabled.
100214 12:31:42 InnoDB: Started; log sequence number 0 44233
100214 12:31:42 [Note] Event Scheduler: Loaded 0 events
100214 12:31:42 [Note] C:\PROGRA~1\EASYPH~1.0\MySql\bin\mysqld.exe: ready for connections.
Version: '5.1.37-community-log' socket: '' port: 3306 MySQL Community Server (GPL)
100214 12:35:36 [Note] C:\PROGRA~1\EASYPH~1.0\MySql\bin\mysqld.exe: Normal shutdown

100214 12:35:36 [Note] Event Scheduler: Purging the queue. 0 events
100214 12:35:36 InnoDB: Starting shutdown...
100214 12:35:37 InnoDB: Shutdown completed; log sequence number 0 44233
100214 12:35:37 [Warning] Forcing shutdown of 1 plugins
100214 12:35:37 [Note] C:\PROGRA~1\EASYPH~1.0\MySql\bin\mysqld.exe: Shutdown complete

100214 13:44:29 [Note] Plugin 'FEDERATED' is disabled.
100214 13:44:29 InnoDB: Started; log sequence number 0 44233
100214 13:44:29 [Note] Event Scheduler: Loaded 0 events
100214 13:44:29 [Note] C:\PROGRA~1\EASYPH~1.0\MySql\bin\mysqld.exe: ready for connections.
Version: '5.1.37-community-log' socket: '' port: 3306 MySQL Community Server (GPL)
100214 23:01:15 [Note] C:\PROGRA~1\EASYPH~1.0\MySql\bin\mysqld.exe: Normal shutdown

100214 23:01:15 [Note] Event Scheduler: Purging the queue. 0 events
100214 23:01:15 InnoDB: Starting shutdown...
100214 23:01:16 InnoDB: Shutdown completed; log sequence number 0 44233
100214 23:01:16 [Warning] Forcing shutdown of 1 plugins
100214 23:01:16 [Note] C:\PROGRA~1\EASYPH~1.0\MySql\bin\mysqld.exe: Shutdown complete

100215 10:03:52 [Note] Plugin 'FEDERATED' is disabled.
100215 10:03:52 InnoDB: Started; log sequence number 0 44233
100215 10:03:53 [Note] Event Scheduler: Loaded 0 events
100215 10:03:53 [Note] C:\PROGRA~1\EASYPH~1.0\MySql\bin\mysqld.exe: ready for connections.
Version: '5.1.37-community-log' socket: '' port: 3306 MySQL Community Server (GPL)
Options: ReplyQuote
Posted by: Amour
February 15, 2010 08:01PM
I'm surprised because MySQL seems to be working...

Can you try to run servers as Service ?
Options: ReplyQuote
Posted by: geeksatlarge
February 16, 2010 02:50AM
Hm-mm, I'm not familiar with how to do that under EasyPHP. The EasyPHP monitor that runs in the MS Taskbar System Tray says that both Apache and MySQL are running though.
Options: ReplyQuote
Posted by: Amour
February 16, 2010 07:44AM
Can you access to phpMyAdmin, or not ?

If not, try to run as Service, it is in EasyPHP Options ;)
Options: ReplyQuote
Posted by: geeksatlarge
February 16, 2010 08:13PM
I can get to phpMyAdmin from 'localhost/home/mysql' . Everything s working fine there. I just need to change the "Path to the database root (datadir) : C:\PROGRA~1\EASYPH~1.0\mysql\data\" to "F:\My Documents\EasyPHP5.3.0\mysql\data" (without generating an error). I did notice there are files being created in the directory I want to use though. They are as follows:

ib_logfile0
ib_logfile1
ibdata1
LIFEBOOK.err
mysql-bin.000001
mysql-bin.000002
mysql-bin.000003
mysql-bin.000004
mysql-bin.000005
mysql-bin.000006
mysql-bin.000007
mysql-bin.000008
mysql-bin.000009
mysql-bin.000010
mysql-bin.000011
mysql-bin.index

I don't know why these files were written here, or what they are for.

Thanks, for your help.
Options: ReplyQuote
Posted by: Amour
February 16, 2010 10:13PM
What is in that new LIFEBOOK.err ? this is MySQL log ;)

Also, when you change path, phpMyAdmin is not working ?
Options: ReplyQuote
Posted by: geeksatlarge
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.
Options: ReplyQuote
Posted by: geeksatlarge
February 16, 2010 11:00PM
Hey Amour,

It looks like that last procedure I did worked after all. I had to actually completely quit out of EasyPHP and then re-launch it. It appears that just doing a stop/start of the servers is not enough after an edit of the 'my.ini' file.

Thanks for all your help.
Options: ReplyQuote


Go to: Message ListSearchLog In
Your Name: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.