Eureka Moment Wiki

One eureka moment at the time

User Tools

Site Tools


database:mysql:move_data_folder

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

database:mysql:move_data_folder [2020/02/21 10:28]
tplecko created
database:mysql:move_data_folder [2020/02/21 10:34] (current)
tplecko
Line 6: Line 6:
 mkdir /​var/​lib/​mysql mkdir /​var/​lib/​mysql
 mount -B /data/mysql /​var/​lib/​mysql mount -B /data/mysql /​var/​lib/​mysql
 +</​code>​
 +
 +Additionally
 +<code bash /​etc/​fstab>​
 +/​data/​mysql ​    /​var/​lib/​mysql ​ auto    defaults,​nofail,​nobootwait,​bind 0       2
 </​code>​ </​code>​
database/mysql/move_data_folder.txt · Last modified: 2020/02/21 10:34 by tplecko