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. Link to comment https://forums.phpfreaks.com/topic/3464-access-denied/ 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. Link to comment https://forums.phpfreaks.com/topic/3464-access-denied/#findComment-11895 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 Link to comment https://forums.phpfreaks.com/topic/3464-access-denied/#findComment-11896 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.