Jump to content

'Access denied' Error


Talik

Recommended Posts

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

Archived

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

×
×
  • Create New...

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.