Question

after update keeps using default datadir

Posted December 16, 2021 90 views
UbuntuMySQLUbuntu 16.04Block StorageStorage

since upgrading from Ubuntu 20.04 to 22.04 mysql keeps using its default datadir

any idea’s what needs changing now ?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
2 answers

Server version: 5.7.29-32 Percona Server

sorry that was meant to have been a comment on this page

https://www.digitalocean.com/community/tutorials/how-to-move-a-mysql-data-directory-to-a-new-location-on-ubuntu-16-04

by Melissa Anderson
Whether you’re adding more space for data or evaluating ways to optimize database performance, this tutorial will guide you through relocating MySQL’s data directory.