-
-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
datadir to a different location #25
Comments
The question is, must we copy or move the data automatically ? That's why today it's not done... Can't decide what is the best strategy |
It's difficult to change the datadir in the my.cnf during the package installation. I suggest to keep it to it's default value, but if the |
Hello I've added in a separate branch a shell script that moves the datadir just after install and replaces it by a symlink. I tried to use |
[Feature] Move datadir after install (issue #25)
I checked on other platform, and it works. Thx for your PR. I closed the ticket, fell free to reopen if needed |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
When the attribute
node['mariadb']['mysqld']['datadir']
is set to a non-default value (e.g/mnt/mysql
), the server fails to start because the data is not copied from the default location/var/lib/mysql
Tested on Ubuntu 14.04 with MariaDB 5.5
The text was updated successfully, but these errors were encountered: