Update to MariaDB 10.0.37 failed

Remco00

Verified User
Joined
Feb 22, 2006
Messages
232
Just tried to update MariaDB from 10.0.36 to 10.0.37. But I got this error:

Code:
Created symlink from /etc/systemd/system/multi-user.target.wants/mariadb.service to /etc/systemd/system/mariadb.service.
Ensuring local-infile is disabled for security reasons in MySQL configuration file...
Giving mysqld a few seconds to start up...
Version check failed. Got the following error when calling the 'mysql' command line client
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")
FATAL ERROR: Upgrade failed
/usr/bin/mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory") when trying to connect
cp: '/usr/lib/libmysqlclient.so' and '/usr/lib/mysql/libmysqlclient.so' are the same file
Restarting MySQL.
Installation completed.
© 2019 Martynas Bendorius, JBMC Software
Page load time: 1.3895 seconds
Does anyone knows how to resolve this issue?
 

Zhenyapan

Verified User
Joined
Feb 23, 2018
Messages
114
Location
UA
check mysql logs for more details, check my.cnf, maybe apparmor issue - check system/messages log.
 
Top