MySQL Forums
Forum List  »  PHP

Re: #1130 - Host 'localhost' is not allowed to connect to this MySQL server
Posted by: Dave Pullin
Date: October 26, 2005 10:48AM

If you forget to run
mysql_prepare_privilege_tables_for_5.sql
or maybe
mysql_fix_privilege_tables.sql
when you upgrade your mysql from V4 to V5 then you get this problem.
And running them fixes the problem - though I had to run them on the downlevel version because I couldn't do anything on the new version until these scripts wee run.

See http://dev.mysql.com/doc/refman/5.0/en/upgrading-from-4-1.html

Options: ReplyQuote


Subject
Written By
Posted
Re: #1130 - Host 'localhost' is not allowed to connect to this MySQL server
October 26, 2005 10:48AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.