alessandro123
Verified User
- Joined
- Sep 11, 2008
- Messages
- 46
Any drawback to move mysql databases to user's homedir?
For example in: /home/myuser/mysql/db1
I'm running out of space in /var filesystem and moving database should be very simple with this like in database_create_post.sh:
For example in: /home/myuser/mysql/db1
I'm running out of space in /var filesystem and moving database should be very simple with this like in database_create_post.sh:
Code:
mv /var/lib/mysql/$database
ln -s /home/$username/mysql/$database /var/lib/mysql