NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Access denied for user

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search
5 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 08-22-2004, 03:59 PM THREAD STARTER               #1 (permalink)
NamePros Expert
 
redhippo's Avatar
Join Date: Oct 2003
Location: ANForum
Posts: 5,218
redhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to behold
 



Access denied for user


what does this mean? i get this when i try to access my site.!!!

Warning: mysql_connect(): Access denied for user: 'dan@localhost' (Using password: YES) in /home/dan/public_html/connectdb.php on line 8
no connection


somebody please help...urgent!!
__________________
|www.vb-skins.com|- Quality Premade Vbulletin skins for Your VB forum makeover |www.Banjir.com|-Free image hosting?[B]For Sale!|AlphaScripts|Money Generating Scripts
FREE VB Skins
redhippo is offline  
Old 08-22-2004, 04:37 PM   #2 (permalink)
RJ
NamePros Admin


 
RJ's Avatar
Join Date: Feb 2003
Posts: 12,919
RJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatness
 



Find Marrow Donors! Cystic Fibrosis Parkinson's Disease
It's bad MySQL username and password in your script. Make sure the MySQL username and password are correct and that they have access to the database.
__________________
Reach me at rj at namepros dot com
RJ is offline  
Old 08-22-2004, 04:40 PM   #3 (permalink)
NamePros Regular
Join Date: Sep 2003
Location: Scotland, UK
Posts: 285
Omar has a spectacular aura aboutOmar has a spectacular aura about
 



It means that that particular database username ("dan") either does not have permission to connect to that particular database or that the password you have supplied (probably located in one of the php files) is incorrect.

If you have cpanel, check to make sure that the db user "dan" is assigned to have permission to access the database.

I hope that helps.

- Omar

[edit] - RJ beat me to it
Omar is offline  
Old 08-22-2004, 06:44 PM THREAD STARTER               #4 (permalink)
NamePros Expert
 
redhippo's Avatar
Join Date: Oct 2003
Location: ANForum
Posts: 5,218
redhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to behold
 



well i have been using it all the while without any problems!! will check my cpanel
__________________
|www.vb-skins.com|- Quality Premade Vbulletin skins for Your VB forum makeover |www.Banjir.com|-Free image hosting?[B]For Sale!|AlphaScripts|Money Generating Scripts
FREE VB Skins
redhippo is offline  
Old 08-24-2004, 02:56 AM THREAD STARTER               #5 (permalink)
NamePros Expert
 
redhippo's Avatar
Join Date: Oct 2003
Location: ANForum
Posts: 5,218
redhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to behold
 



Quote:
check to make sure that the db user "dan" is assigned to have permission to access the database.
i have open up the mysql....the check is on "priviledges" . what else need to be check?

any other solutions?

thanks
__________________
|www.vb-skins.com|- Quality Premade Vbulletin skins for Your VB forum makeover |www.Banjir.com|-Free image hosting?[B]For Sale!|AlphaScripts|Money Generating Scripts
FREE VB Skins
redhippo is offline  
Old 08-24-2004, 11:40 AM   #6 (permalink)
NamePros Regular
 
forona's Avatar
Join Date: Jul 2004
Location: Seattle
Posts: 291
forona is on a distinguished road
 



In the config file that has the MySQL info, you need to probably change the user and database name. If you're using cpanel, it's probably not going to just be 'dan', it'd be like loginname_dan same format for the database. Does that make sense? It uses the login name (same as the home directory name) and an underscore in front of all the user/db names.. so if your login is website for example, it'd be website_dan for the username and website_databasename for the database.
????: NamePros.com http://www.namepros.com/programming/44503-access-denied-for-user.html

Originally Posted by redhippo
i have open up the mysql....the check is on "priviledges" . what else need to be check?

any other solutions?

thanks
forona is offline  
Old 08-26-2004, 05:21 AM THREAD STARTER               #7 (permalink)
NamePros Expert
 
redhippo's Avatar
Join Date: Oct 2003
Location: ANForum
Posts: 5,218
redhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to behold
 



np'ers have solve my problem, thanks all!!
__________________
|www.vb-skins.com|- Quality Premade Vbulletin skins for Your VB forum makeover |www.Banjir.com|-Free image hosting?[B]For Sale!|AlphaScripts|Money Generating Scripts
FREE VB Skins
redhippo is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


 
All times are GMT -7. The time now is 02:26 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger