mysql_connect error

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
unorthodokz
Forum Newbie
Posts: 11
Joined: Tue Apr 10, 2007 2:33 pm
Location: Nashville, TN

mysql_connect error

Post by unorthodokz »

Hey ya'll. I keep getting this error when I pull up the webpage that I'm building right now. Admittedly I'm new at php/mysql so any answers are great, but ones that say "do a search" don't really help -- considering I've already done that and still not figuring it out exactly right.

Code: Select all

Warning: mysql_connect(): Access denied for user 'unorthodokz'@'p3slhjava06.shr.phx3.secureserver.net' (using password: YES) in /home/content/m/u/s/musicdocument/html/library/config.php on line 15
Unable to connect to database! Please try again later.
The problem can also be seen here: http://www.musicdocumentaries.org. I know that my hostname, username, and password are correct. Thanks for takin a look.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

sentback
Forum Newbie
Posts: 24
Joined: Fri May 04, 2007 9:46 am

Post by sentback »

I would guess it can't find its database. Either that or your account doesn't have the privilege to access it. Anyway you should read this http://dev.mysql.com/doc/refman/5.0/en/ ... enied.html. This should crack your case open :D
Post Reply