We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd4d05c commit f3212ebCopy full SHA for f3212eb
lib/DBD/MariaDB.pod
@@ -217,6 +217,10 @@ config file, as in
217
my $dsn = 'DBI:MariaDB:test;mariadb_read_default_file=/home/joe/my.cnf';
218
my $dbh = DBI->connect($dsn, $user, $password);
219
220
+If the config file specifies the password, you need to use C<undef> in
221
+C<connect>, not just an empty string, to have it replaced by the config value.
222
+All other attributes replace even the empty string.
223
+
224
The option I<mariadb_read_default_group> can be used to specify the default
225
group in the config file: Usually this is the C<client> group, but see the
226
following example:
0 commit comments