Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Cant connect to database using 1.7



Threaded Mode | Print  

 Cant connect to database using 1.7, #1130 - Host 'localhost' is not allowed to connect to this MySQL server (4 Replies, Read 4467 times)
solar2lunar
Group: Member
Post Group: Newbie
Posts: 3
Status:
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)"
IP: --   

Cant connect to database using 1.7
ketan
Group: Member
Post Group: Working Member
Posts: 241
Status:
Hi,

Can you open a ticket. We will look into this.
http://www.ampps.com/support


Edited by ketan : April 13, 2012, 12:39 pm

-----------------------
Follow AMPPS on,
Twitter
Facebook
Google+
IP: --   

Cant connect to database using 1.7
solar2lunar
Group: Member
Post Group: Newbie
Posts: 3
Status:
Quote From : ketan April 13, 2012, 12:29 pm
Hi,

Can you open a ticket. We will look into this.



Thanks for the quick reply. I just filed a bug.
IP: --   

Cant connect to database using 1.7
ketan
Group: Member
Post Group: Working Member
Posts: 241
Status:
Hi,

Please do the following things,

In your config.inc.php replace "$cfg['Servers'][$i]['host'] = 'localhost';" with $cfg['Servers'][$i]['host'] = '127.0.0.1';

If this does not helps then please open a ticket for proper support,
http://www.ampps.com/support

-----------------------
Follow AMPPS on,
Twitter
Facebook
Google+
IP: --   

Cant connect to database using 1.7
solar2lunar
Group: Member
Post Group: Newbie
Posts: 3
Status:
Quote From : ketan April 13, 2012, 1:05 pm
Hi,

Please do the following things,

In your config.inc.php replace "$cfg['Servers'][$i]['host'] = 'localhost';" with $cfg['Servers'][$i]['host'] = '127.0.0.1';

If this does not helps then please open a ticket for proper support,
http://www.ampps.com/support


It doesn't work when change to ip. I will file a bug following your suggestion. Thanks.
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 28, 2024, 11:13 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.024