hi!
make sure you have the dbi module configured with mysql.
use this syntax:
use DBI;
$dbh = DBI->connect("dbi:mysql:rushload:leader","richard", "passwd");
>Can someone tell me whats worng with my syntax:
>
>use DBI;
>$dbh = DBI->connect("DBI:mysql:rushload\@leader","richard", "passwd");
>
>leader = name of server, rushload = name of database
>
>Do I need a port number if so which one should I use?
>
>Richard
---------------------------------------------------------------------
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