I had mysql and switched over to MariaDB. 10.6. Today I had this problem when I went to upgrade. What do I do?
Found created package: mariadb-10.6.8-linux-x86_64.tar.gz
tar: stdout: write error
Stopping mysqld ...
Service didn't get stopped, sleeping for 20 secs and re-trying ...
Stopping mysqld ...
Ensuring local-infile is disabled for security reasons in MySQL configuration file...
Job for mysqld.service failed because a fatal signal was delivered to the control process.
See "systemctl status mysqld.service" and "journalctl -xe" for details.
Giving mysqld a few seconds to start up...
Giving mysqld a another few seconds to start up...
Giving mysqld last 20 seconds to start up...
Reading datadir from the MariaDB server failed. Got the following error when executing the 'mysql' command line client
ERROR 2002 (HY000): Can't connect to local server through socket '/usr/local/mysql/data/mysql.sock' (111)
FATAL ERROR: Upgrade failed
[1mError running '/usr/local/mysql/bin/mysql_upgrade --defaults-extra-file=/usr/local/directadmin/conf/my.cnf --skip-version-check'(B[m
Restarting MySQL.
Job for mysqld.service failed because a fatal signal was delivered to the control process.
See "systemctl status mysqld.service" and "journalctl -xe" for details.
Installation completed.