mysql_read_defaults_file requires absolute path

Something I've noticed, and I'm not sure whether it's a bug or a
feature. This works:

DBI->connect(DBI:mysql:test;mysql_read_default_file=/home/ba ron/cnf;mysql_read_default_group=mysql,
....

This doesn't, even when /home/baron/ is the current working directory:

DBI->connect(DBI:mysql:test;mysql_read_default_file=cnf;mysq l_read_default_group=mysql,
....

Should this work without an absolute path?

Cheers
Baron

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules [at] m .gmane.org
Baron Schwartz [ Fr, 29 Februar 2008 18:17 ] [ ID #1926772 ]
Datenbanken » gmane.comp.db.mysql.perl » mysql_read_defaults_file requires absolute path

Vorheriges Thema: I updated DBD and broke some scripts
Nächstes Thema: DBD::mysql 4.006 SEGVing on Solaris sparc