Skip to content

Fix SSL related test failure by backporting Fedora commit <c33b1cff>.

This fixes issues connecting to MariaDB:

+ mysql_install_db --datadir=/builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/data --log-error=/builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/mysql.log
Installing MariaDB/MySQL system tables in '/builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/data' ...
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
To do so, start the server, then issue the following command:
'/usr/bin/mysql_secure_installation'
which will also give you the option of removing the test
databases and anonymous user created by default.  This is
strongly recommended for production servers.
See the MariaDB Knowledgebase at http://mariadb.com/kb
You can start the MariaDB daemon with:
cd '/usr' ; /usr/bin/mysqld_safe --datadir='/builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/data'
You can test the MariaDB daemon with mysql-test-run.pl
cd '/usr/mysql-test' ; perl mysql-test-run.pl
Please report any problems at http://mariadb.org/jira
The latest information about MariaDB is available at http://mariadb.org/.
Consider joining MariaDB's strong and vibrant community:
https://mariadb.org/get-involved/
+ /usr/libexec/mysqld --datadir=/builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/data --log-error=/builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/mysql.log --socket=/builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/mysql.sock --pid-file=/builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/mysql.pid --port=13317 --ssl
++ seq 10
+ for i in $(seq 10)
+ sleep 1
2024-05-21 11:02:30 0 [Warning] Could not increase number of max_open_files to more than 16384 (request: 32246)
+ grep -q 'ready for connections.' /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/mysql.log
+ echo 'Waiting connections... 1'
Waiting connections... 1
+ for i in $(seq 10)
+ sleep 1
+ grep -q 'ready for connections.' /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/mysql.log
+ echo 'Waiting connections... 2'
+ for i in $(seq 10)
Waiting connections... 2
+ sleep 1
+ grep -q 'ready for connections.' /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/mysql.log
+ echo 'Waiting connections... 3'
+ for i in $(seq 10)
Waiting connections... 3
+ sleep 1
+ grep -q 'ready for connections.' /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/mysql.log
+ echo 'Waiting connections... 4'
Waiting connections... 4
+ for i in $(seq 10)
+ sleep 1
+ grep -q 'ready for connections.' /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/mysql.log
+ echo 'Waiting connections... 5'
+ for i in $(seq 10)
Waiting connections... 5
+ sleep 1
+ grep -q 'ready for connections.' /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/mysql.log
+ echo 'Waiting connections... 6'
Waiting connections... 6
+ for i in $(seq 10)
+ sleep 1
+ grep -q 'ready for connections.' /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/mysql.log
+ echo 'Waiting connections... 7'
+ for i in $(seq 10)
Waiting connections... 7
+ sleep 1
+ grep -q 'ready for connections.' /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/mysql.log
+ echo 'Waiting connections... 8'
+ for i in $(seq 10)
Waiting connections... 8
+ sleep 1
+ grep -q 'ready for connections.' /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/mysql.log
+ echo 'Waiting connections... 9'
+ for i in $(seq 10)
Waiting connections... 9
+ sleep 1
+ grep -q 'ready for connections.' /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/mysql.log
Waiting connections... 10
+ echo 'Waiting connections... 10'
+ mysql -u root -e 'CREATE DATABASE /*M!50701 IF NOT EXISTS */ test' -S /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/mysql.sock -P 13317
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.' (2)

Merge request reports