Report this

What is the reason for this report?

after update keeps using default datadir

Posted on December 16, 2021

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

any idea’s what needs changing now ?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

it seems only

/etc/my.cnf

is read now and had to create it

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.