dskamburapola15
New Member
- Messages
- 4
- Reaction score
- 0
- Points
- 0
I created a my sql database. Now I want to connect to it from my website.
I tried it with the follwing details.
$host=\"69.175.121.66\"; // Host name
$username=\"user\"; // Mysql username
$password=\"*****\"; // Mysql password
$db_name=\"dsk\"; // Database name
But it\'s generate an error.
Warning: mysql_connect() [function.mysql-connect]: Access denied for user \'user\'@\'69.175.6.117\' (using password: YES) in /home/dsk123/public_html/index.php on line 17
cannot connect to server
Please help me to fix this
I tried it with the follwing details.
$host=\"69.175.121.66\"; // Host name
$username=\"user\"; // Mysql username
$password=\"*****\"; // Mysql password
$db_name=\"dsk\"; // Database name
But it\'s generate an error.
Warning: mysql_connect() [function.mysql-connect]: Access denied for user \'user\'@\'69.175.6.117\' (using password: YES) in /home/dsk123/public_html/index.php on line 17
cannot connect to server
Please help me to fix this
Last edited by a moderator: