rajat44
Banned
- Messages
- 24
- Reaction score
- 0
- Points
- 0
i'm creating a register script for my site and till yesterday it was working fine and i could take registrations.. now all it shows is:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'urworld'@'10.33.248.75' (using password: YES) in /home/urworld/public_html/config.php on line 10
cannot connect to server
The config.php file where i have the connection to the mysql serves goes like this:
<?
$host="localhost"; // Host name
$username="myusername"; // Mysql username
$password="mypassword"; // Mysql password
$db_name="database name"; // Database name
$tbl_name="table name"; // Table name
//Connect to server and select database.
mysql_connect("$host", "username", "password")or die("cannot connect to server");
mysql_select_db("database name")or die("connot find db");
?>
Please can someone please please help?
the url of the page which shows error on clicking submit is:
UrWorld/Register
Thank You..
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'urworld'@'10.33.248.75' (using password: YES) in /home/urworld/public_html/config.php on line 10
cannot connect to server
The config.php file where i have the connection to the mysql serves goes like this:
<?
$host="localhost"; // Host name
$username="myusername"; // Mysql username
$password="mypassword"; // Mysql password
$db_name="database name"; // Database name
$tbl_name="table name"; // Table name
//Connect to server and select database.
mysql_connect("$host", "username", "password")or die("cannot connect to server");
mysql_select_db("database name")or die("connot find db");
?>
Please can someone please please help?
the url of the page which shows error on clicking submit is:
UrWorld/Register
Thank You..