Hello,
I am going to be moving my MySQL DBs to a dedicated server on a different host provider. Below is how I currently connect to the database. Currently all my web pages, PHP and MySQL dbs are hosted by the same provider. How do I change the followig code to connect to my new dedicated server by let's say IP address or hostname?
Thanks, Gary
$user = "username";
$password = "passwordname";
$database = "databasename";
mysql_connect("mysqldb",$user,$password);
mysql_select_db($database) or die( "Unable to select database");