ok...so if say this is my sql line
#Connects to the MYSQL Database
$SystemDB = DBI->connect ("DBI:mysql:database=$DBNAME:host=$DBHOST",$DBUSER,$DBPASS) or die "Can't connect to database\n";
(using DBI)
i should have said also, im running mysql locally on my machine at the mo, so $DBNAME is set to localhost, but i want it to be able to upload to a mysql server remotely
so what changes would i need to make to the DBNAME to allow this to occur?
on the remote websever it is telling me that its DBNAME is <databasename>:localhost, so would i just add the port number on the end??