Hi everyone, I am having problems with accessing the database that i have created.
In php i put in the following code and im not sure what goes in local host? is it localhost, or is it an address of the sql database? or my x10 website?
mysql_connect(localhost,timurtimur,$password);
Here is the error message:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'timurtimur'@'localhost' (using password: YES) in /home/timur/public_html/tim.php on line 27
Could not connect:
Access denied for user 'timurtimur'@'localhost' (using password: YES)
Appreicate any help ,
Thanks,
Timur
In php i put in the following code and im not sure what goes in local host? is it localhost, or is it an address of the sql database? or my x10 website?
mysql_connect(localhost,timurtimur,$password);
Here is the error message:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'timurtimur'@'localhost' (using password: YES) in /home/timur/public_html/tim.php on line 27
Could not connect:
Access denied for user 'timurtimur'@'localhost' (using password: YES)
Appreicate any help ,
Thanks,
Timur