How do i access mysql from mac terminal, using xampp?

后端 未结 8 2094
忘了有多久
忘了有多久 2020-12-13 15:42

I am trying to access mysql from my mac\'s terminal.

I have tried just typing

mysql -u root -p

(and Enter, but that doe

8条回答
  •  抹茶落季
    2020-12-13 16:21

    I used this to access phpmyadmin mysql database though terminal

    /opt/lampp/bin/mysql -uroot -ppassword
    

    then

    USE dbname
    

提交回复
热议问题