Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Accesing a database from different sites

by shemp (Deacon)
on May 16, 2003 at 20:31 UTC ( [id://258764]=note: print w/replies, xml ) Need Help??


in reply to Accesing a database from different sites

the DBI module allows you to specify a host machine in the DBI::connect() method. With Mysql, the first param to connect includes the options host, such as
... my $db_handle= DBI->connect("DBI:mysql:my_table:10.100.100.100", " +user", "pass", ...) or die; ...
Now, this assumes that you have set up the Mysql user permissions correctly...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://258764]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-19 23:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found