Welcome to weblogs.com.pk Sign in | Join | Help

Access denied for user 'ODBC'@'localhost' (using password: NO)

If you are receiving this error; and you happen to use PHP4 and mySQL 5; its due to the reason that mySQL client library being used is older. The simplest work-around is that you issue the following commands (I guess you need root level access; contact your ISP/Network Administrator for assistance)

update mysql.user set password = old_password('newpasswd') where host = 'some_host' and user = 'some_user';
flush privileges;

Published Tuesday, February 7, 2006 5:00 PM by khurram
Filed under:


No Comments

New Comments to this post are disabled