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 -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -