Hi newbie here I need some help :P

shuiherng

New Member
Messages
0
Reaction score
0
Points
0
Hi I'm a newbie here.

I am recieving errors such as:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'shuihern'@'stoli.x10hosting.com' (using password: YES) in /home/shuihern/public_html/register_verify.php on line 2

when I run my php code.

I'm trying to implement my forum on this webpage. My databases have been set in phpMyAdmin.

Here's the php code which caused the error stated above:
mysql_connect("$host", "$username", "$password");
Where $host='http://stoli.x10hosting.com:2077";
and $username and $password are self explanatory.

Thanks a million :D
shuiherng
Lead Developer of a Hobby Operating System
 

vishal

-::-X10 Guru-::-
Community Support
Messages
5,255
Reaction score
192
Points
63
host must be "localhost" without quotes
pls open a support thread in free hosting for further support
 
Last edited:
Top