php - mysql: unknown option '--includedir /etc/mysql/mariadb.conf.d/' -


i trying login mysql through terminal, getting error when type

mysql -u root 

error:

mysql: unknown option '--includedir /etc/mysql/mariadb.conf.d/'

help me: why not able login mysql through terminal ?

in /etc/mysql/my.cnf

!includedir /etc/mysql/conf.d/

includedir /etc/mysql/mariadb.conf.d/

have tried login password:

mysql -u root -p<password> 

fyi: there no space bettween -p , password


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

c++ - Fill edges and center of array/vector with different values -

ios - Chat Bubble in Swift3 -