Question
Unable to Move MySQL DB Location - Ubuntu 18.04.3 (LTS) x64
I followed the steps below exactly and the MySQL service will not start. This is a new Droplet with NO pre-existing data.
Here are the apps I installed which include MySQL:: apt-get install apache2 mysql-server php php-mysql libapache2-mod-php php-xml php-mbstring php-apcu php-intl imagemagick inkscape php-gd php-cli php-curl git php-bz2
Errors from JOURNALCTL -XE::
– Unit mysql.service has begun starting up.
Sep 11 16:26:09 ark03 audit[2197]: AVC apparmor=“DENIED” operation=“open” profile=“/usr/sbin/mysqld” name=“/sys/devices/system/node/” pid=2197 comm=“mysqld” requestedmask=“r” deniedmask=“r” fsuid=0 ouid=0
Sep 11 16:26:09 ark03 kernel: audit: type=1400 audit(1568219169.013:320): apparmor=“DENIED” operation=“open” profile=“/usr/sbin/mysqld” name=“/sys/devices/system/node/” pid=2197 comm=“mysqld” requestedmask=
Sep 11 16:26:09 ark03 audit[2202]: AVC apparmor=“DENIED” operation=“open” profile=“/usr/sbin/mysqld” name=“/sys/devices/system/node/” pid=2202 comm=“mysqld” requestedmask=“r” deniedmask=“r” fsuid=111 ouid=
Sep 11 16:26:09 ark03 kernel: audit: type=1400 audit(1568219169.053:321): apparmor=“DENIED” operation=“open” profile=“/usr/sbin/mysqld” name=“/sys/devices/system/node/” pid=2202 comm=“mysqld” requestedmask=
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.
×