Gatewayv Posted November 19, 2013 Posted November 19, 2013 Sir, Am trying to connect to a database i have in gatewayvpn.heliohost.org via remote sql but i get this error. Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on '216.218.192.170' (4) in /home/joshsoft/public_html/gatewayvpn.com/pages/login.php on line 30 Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/joshsoft/public_html/gatewayvpn.com/pages/login.php on line 31 Here is my site link: http://gatewayvpn.com/pages/enter.php Username: vinPw:2249 The remote sql here doesnt seem to connect. Quote
Krydos Posted November 23, 2013 Posted November 23, 2013 Is the database hosted on our server, and you're trying to connect to it from a remote location, or are you trying to connect to a remotely hosted database from a script hosted on our server? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.