DBD:mysql cannot connect
From: nickelstat (nickelstat_at_sbcglobal.net)
Date: 02/25/04
- Next message: OK: "Re: DBD:mysql cannot connect"
- Previous message: muir_at_idiom.com: "ANNOUNCE: IO::Event version 0.502"
- Next in thread: OK: "Re: DBD:mysql cannot connect"
- Reply: OK: "Re: DBD:mysql cannot connect"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 25 Feb 2004 09:53:19 -0800
My first time trying mysql out. Very simple program
use DBI;
$dsn = "DBI:mysql:database=$database;host=$hostname;port=$port";
which is "DBI:mysql:database=sunlighttravel;host=localhost;port=80"
$dbh = DBI->connect($dsn, $user, $password);
--> stuck at connect(). All variables are verified set correctly.
$user="root";$password=""; Does that make a difference whether
password is NULl or blank?
While mysql client works correctly with the same parameters.
I'm on Win XP, Active Perl 5.8.3, DBI and DBD-mysql modules.
mysql 4.0.18-max-debug
The server log nevers sees a connection request via perl, only via
mysql client.
Where should I look?
tia
- Next message: OK: "Re: DBD:mysql cannot connect"
- Previous message: muir_at_idiom.com: "ANNOUNCE: IO::Event version 0.502"
- Next in thread: OK: "Re: DBD:mysql cannot connect"
- Reply: OK: "Re: DBD:mysql cannot connect"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|