Jump to content
Updating IPB tonight Read more... ×

Archived

This topic is now archived and is closed to further replies.

cerin

Access denied

Recommended Posts

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 8
Error connecting to mysql[/code]

I don't know what I need to do to gain access so I would appreciate any help.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.