sethupathy Posted June 14, 2007 Share Posted June 14, 2007 i am a newbe so bear with me is there anything i have to do to mysql to accept external connection to the db Localhost connection : $connection=mysql_connect("localhost","user", "pass") or die("Unable to connect!"); /* change this! */ mysql_select_db("sondagetel") or die("Unable to select database!"); for external do i have to replace the locallost by my ip adress? is there a change i have to make to the config? pls help Quote Link to comment https://forums.phpfreaks.com/topic/55517-external-connection/ Share on other sites More sharing options...
fenway Posted June 17, 2007 Share Posted June 17, 2007 Yes, either the IP or the domain name. Quote Link to comment https://forums.phpfreaks.com/topic/55517-external-connection/#findComment-276330 Share on other sites More sharing options...
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.