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 kiboro 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.