/etc/mysql/my.conf, you can easily set
datadir=/mnt/your_block/mysql, but there are some deeper issues with
apparmor. How do I reconfigure
apparmor to acknowledge my new
I’ve followed directions at [this] (http://askubuntu.com/questions/137424/moving-mysql-datadir) StackOverflow post, but upon completion I get
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/mnt/volume-nyc1-01/mysql/mysqld.sock'
I can’t find
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.