Talik Posted November 4, 2003 Share Posted November 4, 2003 Hi. I get the following error while trying to connect to my database on PHPMyAdmin: Warning: Access denied for user: \'[email protected]\' (Using password: YES) in /home/virtual/site56/fst/var/www/html/connection.php on line 2 Warning: MySQL Connection Failed: Access denied for user: \'[email protected]\' (Using password: YES) in /home/virtual/site56/fst/var/www/html/connection.php on line This is the code I\'m using: [php:1:25f4fedc19]<?php $conn = mysql_connect(\"shatteredreality.com\", \"[username]\", \"[password]\"); echo \"$conn\"; ?>[/php:1:25f4fedc19] with my username and password in, of course. A pointer in the right direction would be greatly appreciated. Thanks! Link to comment https://forums.phpfreaks.com/topic/1293-access-denied-error/ Share on other sites More sharing options...
shivabharat Posted November 4, 2003 Share Posted November 4, 2003 This has been discussed quiet frequently in the forum I am not sure why you dint try using the search option http://www.phpfreaks.com/forums/viewtopic....ess+denied+user http://www.phpfreaks.com/forums/viewtopic....ess+denied+user Link to comment https://forums.phpfreaks.com/topic/1293-access-denied-error/#findComment-4297 Share on other sites More sharing options...
Talik Posted November 5, 2003 Author Share Posted November 5, 2003 Thank you for the links. I did use the serach feature, but I didn\'t come up with any posts that helped me resolve the problem. I read the links you posted, but I am still getting an error after trying some of those solutions. I\'m going to go keep working at it now. Link to comment https://forums.phpfreaks.com/topic/1293-access-denied-error/#findComment-4304 Share on other sites More sharing options...
Talik Posted November 5, 2003 Author Share Posted November 5, 2003 Okay, I just got it. When trying the things suggested in the other posts, I wasn\'t included the \'u \' in the username. Thanks again. Link to comment https://forums.phpfreaks.com/topic/1293-access-denied-error/#findComment-4305 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.