View Feed
Discuss databases and writing database queries with fellow DB enthusiasts.
295 Members
Join this group to post and comment.

Unable to connect to database

I have to update a website but i am unable to connect to Mysql server when i try to connect it gives me exception like this

Could not connect: Can't connect to MySQL server on 'localhost' (10061)PHP Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost' (10061) in D:\Domains\\wwwroot\Register.php on line 5

I am using following php script
Please help me ..It is urgent
Guys please help me I really need it
Is there any one here who ever hosts his website and use mysql?
thechamp • Mar 12, 2010
make sure you have entered password in webpage same as that saved in your mysql.
yes I have checked that also..but no good response 😔
thechamp • Mar 12, 2010
the link you provided for MySql connection seems broken.
you mean this link
If yes ,I have not given this link anywhere it is just coming in the exception
thechamp • Mar 12, 2010
try uploading website another time.. might be server problem that time.
or it could be related to port i guess. i searched on net, it says could be related to your firewall too.i think googling should do it,as i dont think problem is in coding.
Thanks champ
Waiting for more replies ..can anyone help me here ?

Share this content on your social channels -