Something like this:
$site::dbName= 'DBI:mysql:test:10.10.2.20';
for a database called test on 10.10.2.20
Then add the user for the web machine (assuming it's 10.10.2.10) to the
authorized list:
Grant select on test.* to [EMAIL PROTECTED] identified by 'password';
Flush privileges;
Ev
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)?
Just