MySQL/MariaDB: Option to opt out user data location

v142
DietPi-Software | MySQL/MariaDB: Data store is now located in the DietPi User data location (eg: /mnt/dietpi_userdata/mysql). Should offer improved performance for USB drive users: > https://github.com/Fourdee/DietPi/issues/672

How can i undo these change?

Because i use an Odroid C2 with eMMC and SD card.
The SD card is used as backup storage and for the user data.

Why not make it optional (dietpi.txt)?

Thanks.

Hi,

To move MySQL outside the userdata location, for now, you’d have to move it manually, and remove the symlink from /var/lib/mysql.

From /mnt/dietpi_userdata/mysql to /var/lib/mysql .

That makes me sad but please think about a switch because on Odroid the eMMC card or even the SD card will be faster than an external drive at USB 2.0.

Thanks for your patience.