PHP / MySQL error after hosting website...

PHTech

Senior Member
Joined
Aug 21, 2006
Messages
588
Reaction score
0
Location
Witbank
Hi there... I have hosted my sort of completed website using PHP / MySQL technology. After I have hosted the website, my LOGIN page displays the following error upon access:

Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'techdb'@'localhost' (using password: YES) in /home/techstud/public_html/Connections/conn_TechStudio.php on line 9

Fatal error: Access denied for user 'techdb'@'localhost' (using password: YES) in /home/techstud/public_html/Connections/conn_TechStudio.php on line 9

Any ideas how I can fix it? I have changed the "@localhost" to my domain name etc, but still no luck...

Any help would be much appreciated...!
 
I have found the problem! Sorry for the post...

The problem was a wrong specified USERNAME. It should have been like it is specified in the phpMyAdmin application in my control panel...

Thanx anyways!
 
Doublecheck your username: I suspect it should be something like "cpanelusername_techdb" and not just "techdb"
 
Thanx TEXO. I have corrected the problem. My website is actually hosted with Texo :)

Thanx for the great service!
 
LOL! I suspected as much. Glad you came right -- but you can email/phone us 24/7 whenever you get stuck, and we'll sort you out.
 
BTW -- your website's looking good; don't forget to change the email address in the top right hand corner (and make it clickable).
 
Thanx man! I will do so and refine all the needed links etc. This is still a major "under development" project for me... So far so good! :)

Thanx...!
 
Top
Sign up to the MyBroadband newsletter
X