Hello Wolfgang, [..] > My question now is this: How can I tell a php script to not use the > standard mySQL server that exists on this server computer, but to use > the 2nd mySQL server that runs on the different port number ? > Currently I use info set up in variables like this: > > # MySQL database config stuff > $host="localhost"; > $username="abcdefg"; > $database="database"; > $password="123456789";
In your case the lines will look something like this if we asume that the host is 192.168.10.1 and the port 3307: > $host="192.168.10.1:3307"; > $username="abcdefg"; > $database="database"; > $password="123456789"; Best regards Daniel Khan --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php