When I try to insert data in my server I get the following error:
Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'sg2nlddb5002-03.shr.prod.sin2.secureserver.net' (111) in /home/content/02/11649702/html/dbcon.php on line 2
Could not connect: Can't connect to MySQL server on 'sg2nlddb5002-03.shr.prod.sin2.secureserver.net' (111)
It works fine on my localhost. I am using php and mysql.
This is the link on my server that gives this error: http://spectrumenglishcourse.com/FRM_Words.php
I have spent the last two hours trying everything from trying to edit my.cnf and what not. Pleaaase help