so what scripting language are you using?
you need to change the database connection to point to the new server name
if its PHP look for something like...
PHP Code:
$cnn=@mysql_connect($host,$username,$password) or die(echo "Mysql failed to open a connection reporting:".mysql_errno().": ".mysql_error()));
$dbr=@mysql_select_db($databasename,$cnn) or die ($host,$username,$password) or die(echo "Mysql failed to open a the database reporting:".mysql_errno().": ".mysql_error()));
$host is the hostname the computer name supplied by your new host
$username is the variable containing the user supplied by your new host
$password is the variable containing the pasword supplied by your new host
$databasename is the name of the db server supplied by your new host
$cnn is the connection object returned from opening the connection
usually there will be a php file which defiens what those values are
eg
$host = "myhostname";
$username = "dlowfly";
$password = "blah";
$databasename "mydbname";
you can use
PHP Code:
$cnn=@mysql_connect("myhostname", "dlowfly","blah");