I ran into this problem with my last Solaris install. This was the solution:
A very common error is to insert a new entry with Host='%' and User='some_user', thinking that this allows you to specify localhost to connect from the same machine. The reason that this does not work is that the default privileges include an entry with Host='localhost' and User=''. Because that entry has a Host value 'localhost' that is more specific than '%', it is used in preference to the new entry when connecting from localhost! The correct procedure is to insert a second entry with Host='localhost' and User='some_user', or to delete the entry with Host='localhost' and User=''. After deleting the entry, remember to issue a FLUSH PRIVILEGES statement to reload the grant tables. >From this troubleshooting page: http://dev.mysql.com/doc/refman/5.1/en/access-denied.html -- jth ------------------------------------------------------------------------ jth's Profile: http://forums.slimdevices.com/member.php?userid=48 View this thread: http://forums.slimdevices.com/showthread.php?t=32575 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/unix
