Mysql sock broken?

Ieuan

Verified User
Joined
Dec 26, 2015
Messages
21
I'm currently in a situation where I'm unable to get mysql (mariadb) to function at all. Debian 9.6, latest DA, latest Custombuild

The DA mysql user page shows
Code:
Error connecting to MySQL: Plugin 'unix_socket' is not loaded
, I get a similar error when rebuilding with custombuild and even after running mariadb with
Code:
mysqld_safe --skip-grant-tables &
I get
Code:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/usr/local/mysql/data/mysql.sock' (2)

The socket it's looking for isn't getting created. It's configured in /etc/mysql/mariadb.conf.d/50-server.cnf to be output to /var/run/mysqld/mysqld.sock, but that directory doesn't exist.

I would attempt upgrading to 10.2.20, but I get a 404 error because http://files7.directadmin.com/services/all/mariadb/10.2/10.2.20/ doesn't have the glibc release custombuild is looking for.

Is there any way I can purge mariadb and its configs (but not the data), and reinstall 10.3.11? Alternatively, has anyone had the same issue and found a fix?

Kind regards
 
Hello,

With debian you might face the issue mentioned here: https://www.directadmin.com/features.php?id=2182

I would rather try and install a default MySQL/MariaDB version using /usr/local/directadmin/scripts/mysql.sh and then update it to the required with /usr/local/directadmin/custombuild/build script.

Interesting, that would explain it.

The script is currently telling me this

Code:
*** Unable to find /usr/local/directadmin/scripts/packages/mariadb-10.2.10-linux-glibc_214-x86_64.tar.gz to extract ***

I can no longer find this package in the DA file repositories, how do I continue?
 
Back
Top