Issues with MariaDB / MySql refresh / reinstall

shopgeek

New member
Joined
Feb 22, 2025
Messages
1
Hello,

I was having some issues access the DBMS. I tried to use the following to see if I could refresh/repair the installation.

cd /usr/local/directadmin/custombuild
./build clean
./build update
./build mysql

This is the result:

Waiting for mariadb to start up...
Waiting for mariadb to start up...
Waiting for mariadb to start up...
Waiting for mariadb to start up...
Waiting for mariadb to start up...
Waiting for mariadb to start up...
Waiting for mariadb to start up...
Waiting for mariadb 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 '/run/mysqld/mysqld.sock' (2)
FATAL ERROR: Upgrade failed
failed to running '/usr/local/mysql/bin/mysql_upgrade --defaults-extra-file=/usr/local/directadmin/conf/my.cnf --skip-version-check' system tables might be malformed
Restarting MySQL.
Installation completed.


Any suggestions?

Thank you
 
Back
Top