https://bugzilla.redhat.com/show_bug.cgi?id=1366773

            Bug ID: 1366773
           Summary: Connection to a remote server using SSL fails
           Product: Fedora
           Version: 25
         Component: perl-DBD-MySQL
          Assignee: jples...@redhat.com
          Reporter: pau...@arid.us
        QA Contact: extras...@fedoraproject.org
                CC: jples...@redhat.com,
                    perl-devel@lists.fedoraproject.org



Description of problem:
Using a Perl script to connect to a remote MariaDB server for a user who is
required to use SSL fails. The same connection from the same machine worked
with the initial Fedora 24 release, but it does not work now after performing a
"dnf update".  Also running the same script from a Fedora 23 docker container
on the same server works.


Version-Release number of selected component (if applicable):
perl-DBD-MySQL-4.035-1

How reproducible:
Attempt to connect to a MariaDB server using a user account that requires SSL. 
Code like the following will fail:

 DBI->connect("DBI:mysql:" .
              "database=$database_name;" .
              "host=$database_server",
              "$database_user_id",
              "$database_password",
              { 'mysql_ssl' => 1,
                'mysql_ssl_verify_server_cert' => 1,
                'PrintError' => 1 });

Actual results:

DBI connect('database=XXXXX;host=XXXXX','spam',...) failed: Access denied for
user 'XXXXX'@'XXXXX' (using password: YES) at ./dbtest.pl line 102.
Unable to connect to the database: Access denied for user 'XXXXX'@'XXXXX'
(using password: YES)

Expected results:
No error should occur, and does not occur with Fedora 23 and did not occur with
the initial release of Fedora 24.

Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to