cerin Posted February 18, 2006 Share Posted February 18, 2006 When I try to connect to mysql using the php command mysql_connect(); I get this error:[code]Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\AppServ\www\mysql.php on line 8Error connecting to mysql[/code]I don't know what I need to do to gain access so I would appreciate any help. Quote Link to comment Share on other sites More sharing options...
fenway Posted February 18, 2006 Share Posted February 18, 2006 Take a look at [a href=\"http://dev.mysql.com/doc/mysql/en/Access_denied.html\" target=\"_blank\"]this refman page[/a]; but it seems strange that you're not using a password. Quote Link to comment Share on other sites More sharing options...
cerin Posted February 18, 2006 Author Share Posted February 18, 2006 With files still around from past installations this is pretty confusing, but I managed to figure it out. Everything seems to be working. Thanks for the help.Until my next problem,cerin Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.