Skip Menu |

This queue is for tickets about the Net-MySQL CPAN distribution.

Report information
The Basics
Id: 19021
Status: new
Priority: 0/
Queue: Net-MySQL

People
Owner: Nobody in particular
Requestors: ryan.menhusen [...] hp.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Can't connect to mysql server that doesn't have a password
My perl version is 5.8.7, using distribution Net-MySQL-0.09. This is installed on an HPUX server, version: HP-UX pandora B.11.23 U ia64 unknown unknown HP-UX I notice this bug in the latest release, 0.09. When I try to connect to my mysql server without a password, it returns this error message: DBI connect('user:server','user',...) failed: #28000Access denied for user 'user'@'server' (using password: YES) at /usr/local/lib/perl5/site_perl/5.8.7/DBD/mysqlPP.pm line 109 so it thought that I was passing it a password, which I wasn't. When I reverted to version 0.08, it worked without a problem. Attached is the test code that I used to see if I recieved an error when connecting to the mysql server.
Subject: connect.pl
use strict; use DBI; my $dbh = DBI->connect("dbi:mysqlPP:user:server", "user", ""); $dbh->disconnect();