Hi,

> I have written previous websites where I used perl or PHP
> to access a Mysql DB wen bith the webserver and the Mysql
> db are on the same server.
>
> My questions is how different is it to access or connect
> to the Mysql database when the database is on a separate
> server(machine)?

Juste modify the DBI args in you .pl file to set IP of the mysql server.
That was 127.0.0.1 or locahost when you are on the same server.

Other thing, verify that -skip-networking is not 'ON' in the mysql config if
you wish to allow network connection ...

David


---------------------------------------------------------------------
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

Reply via email to