[MDEV-10830] Fix undefined database test error when running mysql_install_db Created: 2016-09-19  Updated: 2016-09-23  Resolved: 2016-09-23

Status: Closed
Project: MariaDB Server
Component/s: Scripts & Clients
Affects Version/s: 10.1
Fix Version/s: 10.1.18

Type: Bug Priority: Major
Reporter: Sergey Vojtovich Assignee: Alexey Botchkov
Resolution: Fixed Votes: 0
Labels: contribution, foundation

Issue Links:
Relates
relates to MDEV-10832 Out of tree build: mysql_install_db t... Closed
relates to MDEV-9297 mysql_install_db launches mysqld 3x Closed
Sprint: 10.1.18

 Description   

When using mariaDb in docker mode it can fail as it calls mysql_install_db but as we are going through a slightly different install process the test database has not been created, therefore we should fall back to the mysql database as per https://mariadb.com/kb/en/mariadb/mariadb-10112-mysql_install_db-aborts-on-unkown-file-test/

Note: in 10.2 these procedures are created in mysql database, see MDEV-9297,



 Comments   
Comment by Alexey Botchkov [ 2016-09-22 ]

Fixing patch:
http://lists.askmonty.org/pipermail/commits/2016-September/009898.html

Comment by Alexey Botchkov [ 2016-09-22 ]

http://lists.askmonty.org/pipermail/commits/2016-September/009898.html

Generated at Thu Feb 08 07:45:15 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.