Dukemaster
Regular Pleskian
Hi,
a few days ago I made my server new and successfully made an upgrade to MySQL 5.6 [former 5.5]
Today I had one MySQL update to mysql-apt-config_0.8.4-1_all.deb [former 0.8.3.1]
Also worked fine.
But I got the well-known message:
On askUbuntu I found exactly the same issue only difference is update to MySQL 5.7, on Ubuntu 14.04, like my OS.
One member suggested here the change to usual /var/lib/mysql:
Do you agree with this tutorial? Is it complete or did the user perhaps left some commands/informations?
Or shall I better do nothing at all?
Lots of greets and thanks for the great help in Plesk-Tutorials and few days ago by @UFHH01.
a few days ago I made my server new and successfully made an upgrade to MySQL 5.6 [former 5.5]
Today I had one MySQL update to mysql-apt-config_0.8.4-1_all.deb [former 0.8.3.1]
Also worked fine.
But I got the well-known message:
Code:
root@domain:~# service mysql restart
* Stopping MySQL Community Server 5.6.36
...
* MySQL Community Server 5.6.36 is stopped
* Re-starting MySQL Community Server 5.6.36
No directory, logging in with HOME=/
..
* MySQL Community Server 5.6.36 is started
root@domain:~# reboot
On askUbuntu I found exactly the same issue only difference is update to MySQL 5.7, on Ubuntu 14.04, like my OS.
One member suggested here the change to usual /var/lib/mysql:
Code:
Having same issue to get rid of this error i did the following
Stop MYSQL service:
sudo service mysql stop
Change home directory of mysql from nonexistent to original directory where it is supposed to be:
sudo usermod -d /var/lib/mysql/ mysql
Now start mysql server again with:
sudo service mysql start
The error message has disappeared. Still why this happen is unknown.
Or shall I better do nothing at all?
Lots of greets and thanks for the great help in Plesk-Tutorials and few days ago by @UFHH01.
Last edited: