Home
Solus
Search
Configure Global Search
Log In
Transactions
T1689
Change Details
Change Details
Old
New
Diff
Mariadb 10.1.19. Note - creation of the database after package install but before service start must be performed with: # sudo su - # cd /usr # ./bin/mysql_install_db --datadir=/var/db/mysql/data --basedir=/usr # chown -R mysql:mysql /var/db/mysql I didn't see a nice way to do this automatically as there appear to be no post-install triggers, and of course this logic should be wrapped with safety checks. Obviously you don't want the package shipping any of those files under /var/db/mysql...
{F7839}Mariadb 10.1.19. Note - creation of the database after package install but before service start must be performed with: # sudo su - # cd /usr # ./bin/mysql_install_db --datadir=/var/db/mysql/data --basedir=/usr # chown -R mysql:mysql /var/db/mysql I didn't see a nice way to do this automatically as there appear to be no post-install triggers, and of course this logic should be wrapped with safety checks. Obviously you don't want the package shipping any of those files under /var/db/mysql...
{F7839}
Mariadb 10.1.19. Note - creation of the database after package install but before service start must be performed with: # sudo su - # cd /usr # ./bin/mysql_install_db --datadir=/var/db/mysql/data --basedir=/usr # chown -R mysql:mysql /var/db/mysql I didn't see a nice way to do this automatically as there appear to be no post-install triggers, and of course this logic should be wrapped with safety checks. Obviously you don't want the package shipping any of those files under /var/db/mysql...
Continue