Closed robertbindar closed 3 years ago
(Following up on the email thread) While in no way bullet proof we have created a simple wrapper that does this:
#!/bin/bash
set -e
# --rpm seams to do no harm (maybe reconsider in future) but remove some warnings.
mysql_install_db --skip-test-db --rpm &> /dev/null
# Start mysqld with the supplied options (if any)
exec -a $0 mysqld $*
Pros
Cons:
I think the Cons could be overcome with:
I think #25 close this issue or are we missing something still?
Nope, we got all that this issue was supposed to track.
We already have the feature in place, but it would be cool to make it bulletproof by creating a testing datadir via
mysql_install_db
and other aditional options to make the testing server instance not dependent on user's mariadb configuration files.