in reply to Remote connection to mysql
use Net::MySQL; my $mysql = Net::MySQL->new( hostname => 'localhost', database => 'mytestdb', user => 'mysql', password => 'mysql' ); ... my $SQL = "select * from table1 where field1 = 1"; $mysql->query($SQL);
--------------------------------
An idea is not responsible for the people who believe in it...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Remote connection to mysql
by BUU (Prior) on Apr 23, 2005 at 20:16 UTC | |
by bofh_of_oz (Hermit) on Apr 23, 2005 at 21:55 UTC |