Danny Rice via Cygwin writes:
>> it's more likely that the DB itself is the culprit
>
> In what way do you mean? As mentioned, it reads all the option data from
> the config file (except host) and connects without issue as long as you
> supply host in the dsn.
Again, the client library (not DBI) p
>
> it's more likely that the DB itself is the culprit
In what way do you mean? As mentioned, it reads all the option data from
the config file (except host) and connects without issue as long as you
supply host in the dsn. The cygwin command line mysql command reads all the
options, including hos
Danny Rice via Cygwin writes:
> With a dsn like
>
> $dsn =
> "dbi:mysql:mysql_ssl=1;mysql_read_default_file=test.cnf;mysql_read_default_group=test_group";
> $dbh = DBI->connect($dsn);
>
> seemingly fails to read the host from [test_group] in test.cnf. Adding a
> valid host=host_name to the $dsn suc
With a dsn like
$dsn =
"dbi:mysql:mysql_ssl=1;mysql_read_default_file=test.cnf;mysql_read_default_group=test_group";
$dbh = DBI->connect($dsn);
seemingly fails to read the host from [test_group] in test.cnf. Adding a
valid host=host_name to the $dsn succeeds in reading the user, password etc
from
4 matches
Mail list logo