每次我重新啟動 mysql (mariadb) 時都會收到此錯誤:
[ERROR] mysqld: Plugin 'unix_socket' already installed
[Note] Server socket created on IP: '::'.
但我甚至沒有嘗試啟用或設定這個 unix_socket
[註]mysqld (mysqld 10.1.47-MariaDB-0+deb9u1)
答案1
從 mysql.plugin 表中刪除 unix_socket 記錄
select * from mysql.plugin;
+--------------+-----------------+
| name | dl |
+--------------+-----------------+
| SERVER_AUDIT | server_audit.so |
| pam | auth_pam.so |
| unix_socket | auth_socket.so |
+--------------+-----------------+
delete from mysql.plugin where name='unix_socket';