When I first install AMPPS, the MySQL works. But after that I got error like "#1130 - Host 'localhost' is not allowed to connect to this MySQL server" when I run phpAdmin or try to connect to database by other methods like CLI.
I didn't change any configuration. And only one user in database: root/mysql.
Please help me out. Thanks.
And description in error log :
"120413 21:29:00 [Note] Plugin 'FEDERATED' is disabled.
120413 21:29:01 InnoDB: The InnoDB memory heap is disabled
120413 21:29:01 InnoDB: Mutexes and rw_locks use Windows interlocked functions
120413 21:29:01 InnoDB: Compressed tables use zlib 1.2.3
120413 21:29:01 InnoDB: Initializing buffer pool, size = 128.0M
120413 21:29:01 InnoDB: Completed initialization of buffer pool
120413 21:29:01 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
120413 21:29:01 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...
120413 21:29:02 InnoDB: Waiting for the background threads to start
120413 21:29:03 InnoDB: 1.1.8 started; log sequence number 1595675
120413 21:29:03 [Note] Recovering after a crash using mysql-bin
120413 21:29:03 [Note] Starting crash recovery...
120413 21:29:03 [Note] Crash recovery finished.
120413 21:29:04 [Warning] mysql.user table is not updated to new password format; Disabling new password usage until mysql_fix_privilege_tables is run
120413 21:29:04 [Warning] Found invalid password for user: '1@1'; Ignoring user
120413 21:29:04 [ERROR] mysql.user has no `Event_priv` column at position 29
120413 21:29:04 [ERROR] Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler.
120413 21:29:05 [Note] mysql\bin\mysqld.exe: ready for connections.
Version: '5.5.22-log' socket: '' port: 3306 MySQL Community Server (GPL)"