database per path
Hello, I want to know if is possible to have each database in different path (database x parth) not all database (datadir). And what would be the procedure for them if is possible.
Thanks for your help!
Answer Answered by Kevin Thorpe in this comment.
MySQL is also happy to follow symlinks. I use that for data recovery from backups.
My sql backups are essentially rsync copies of the data tables (from an LVM snapshot protected by FLUSH TABLES WITH READ LOCK). To access them for recovering data records I can simply add a symlink to the mysql data dir and hey presto it appears as a new database.
Comments
Comments loading...
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.