Jump to content

Archived

This topic is now archived and is closed to further replies.

Talik

'Access denied' Error

Recommended Posts

Hi. I get the following error while trying to connect to my database on PHPMyAdmin:

 

Warning: Access denied for user: \'shatteredrea@209.51.150.63\' (Using password: YES) in /home/virtual/site56/fst/var/www/html/connection.php on line 2

 

Warning: MySQL Connection Failed: Access denied for user: \'shatteredrea@209.51.150.63\' (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!

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.