| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Expert Join Date: Oct 2003 Location: ANForum
Posts: 5,218
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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 |
| |
| | #3 (permalink) |
| NamePros Regular Join Date: Sep 2003 Location: Scotland, UK
Posts: 285
![]() ![]() | 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 |
| |
| | THREAD STARTER #4 (permalink) |
| NamePros Expert Join Date: Oct 2003 Location: ANForum
Posts: 5,218
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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 |
| |
| | THREAD STARTER #5 (permalink) | ||||
| NamePros Expert Join Date: Oct 2003 Location: ANForum
Posts: 5,218
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
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 | ||||
| |
| | #6 (permalink) | ||||
| NamePros Regular Join Date: Jul 2004 Location: Seattle
Posts: 291
![]() | 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
| ||||
| |
| | THREAD STARTER #7 (permalink) |
| NamePros Expert Join Date: Oct 2003 Location: ANForum
Posts: 5,218
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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 |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |