Jump to content


Photo

Access denied


  • Please log in to reply
2 replies to this topic

#1 cerin

cerin
  • Members
  • PipPip
  • Member
  • 16 posts

Posted 18 February 2006 - 06:08 AM

When I try to connect to mysql using the php command mysql_connect(); I get this error:
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

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

#2 fenway

fenway
  • Staff Alumni
  • MySQL Si-Fu / PHP Resident Alien
  • 16,199 posts
  • LocationToronto, ON

Posted 18 February 2006 - 06:14 AM

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.
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.

#3 cerin

cerin
  • Members
  • PipPip
  • Member
  • 16 posts

Posted 18 February 2006 - 06:53 AM

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users