我想在arch上使用mysql。它已經安裝了,但是當我嘗試連接如何重新安裝arch/linux上的mysql/mariadb? mysql.sock不存在
connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2 "No such file or directory")'
我看着爲/etc/my.cfg但該文件不存在.. 東西一定去在安裝過程中出錯。 我該如何「清除」mariadb並重新安裝?
我知道pacman的基本命令,用於安裝和刪除。我試圖重新安裝mariadb,但錯誤是一樣的。 my.cfg文件就位。當我輸入systemctl status mysql時,我得到「Loaded:not-found(Reason:No such file or directory)」 – tino
@tino - 你沒有將my.cnf重命名爲'my.cfg',是嗎? – grochmal