Hi,
Right from the "connect" section in the DBD::mysql manual:
$dsn =
"DBI:mysql:database=$database;host=$hostname;port=$port";
$dbh = DBI->connect($dsn, $user, $password);
Shawn wrote:
>
> Hello all,
> Does anyone know if there is a way to remotely call the data_source
>[DBI->data_source('mysql')] property to pull all available databases/drivers?
>
> I can't seem to do it since you are not allowed to specify a host name, user name,
>or password with it. The docs mention nothing about it using the call remotely, but
>I can't believe that I am the first to have an issue with it... Any pointers would
>be greatly appreciated?
>
> TIA,
> Shawn
>
> ---------------------------------------------------------------------
> 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
--
Colin Faber
(303) 736-5160
fpsn.net, Inc.
---------------------------------------------------------------------
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