Details
-
Bug
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
N/A
-
None
-
WSL ubuntu
Description
I created a ~/mariadb.cnf file as per instructions in introduction as follows:
[client-server]
|
socket = /tmp/mariadb.sock
|
|
[mariadb]
|
datadir = /home/hani/mariadb-data
|
The mariadb process start successfully:
Version: '12.0.0-MariaDB-debug' socket: '/tmp/mariadb.sock' port: 3306 Source distribution
|
However, when i try to start the client, i get the following error:
ERROR 2002 (HY000): Can't connect to local server through socket '/tmp/mysql.sock' (111)
|
It works when the socket path is /tmp/mysql.sock, no other path works.
Indeed, that page should be saying
client/mariadb --defaults-file=~/mariadb.cnf