MariaDB Tipps und Tricks: Difference between revisions

From Lolly's Wiki
Jump to navigationJump to search
(Die Seite wurde neu angelegt: „==ERROR 1524 (HY000): Plugin 'unix_socket' is not loaded== ===Problem=== <source lang=bash> # mysql ERROR 1524 (HY000): Plugin 'unix_socket' is not loaded </so…“)
 
m (Text replacement - "</source" to "</syntaxhighlight")
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:MySQL]]
[[Category:MariaDB]]
==ERROR 1524 (HY000): Plugin 'unix_socket' is not loaded==
==ERROR 1524 (HY000): Plugin 'unix_socket' is not loaded==
===Problem===
===Problem===
<source lang=bash>
<syntaxhighlight lang=bash>
# mysql
# mysql
ERROR 1524 (HY000): Plugin 'unix_socket' is not loaded
ERROR 1524 (HY000): Plugin 'unix_socket' is not loaded
</source>
</syntaxhighlight>
===Solution===
===Solution===
<source lang=bash>
<syntaxhighlight lang=bash>
# service mysql stop
# service mysql stop
# mysqld_safe --skip-grant-tables
# mysqld_safe --skip-grant-tables
Line 25: Line 28:
MariaDB [(none)]> shutdown
MariaDB [(none)]> shutdown
# service mysql start
# service mysql start
</source>
</syntaxhighlight>

Latest revision as of 02:55, 26 November 2021


ERROR 1524 (HY000): Plugin 'unix_socket' is not loaded

Problem

# mysql
ERROR 1524 (HY000): Plugin 'unix_socket' is not loaded

Solution

# service mysql stop
# mysqld_safe --skip-grant-tables
150918 15:41:13 mysqld_safe Logging to '/var/log/mysql/error.log'.
150918 15:41:13 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
# mysql
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 2
Server version: 10.0.20-MariaDB-0ubuntu0.15.04.1 (Ubuntu)

Copyright (c) 2000, 2015, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> INSERT INTO mysql.plugin (name, dl) VALUES ('unix_socket', 'auth_socket');
Query OK, 1 row affected (0.00 sec)

MariaDB [(none)]> shutdown
# service mysql start