How to connect from windows command prompt to mysql command line

后端 未结 16 1954
南旧
南旧 2020-12-12 23:30

I\'m trying to connect to mysql server command line from my windows prompt

I write the next line in cmd but i get an error.

cd C:\\MYSQL\\bin\\
         


        
16条回答
  •  佛祖请我去吃肉
    2020-12-13 00:15

    First jump to the mysql bin directory. You have two ways to connect

    1) mysql -u root -p1234 (without space for password flag) 2) mysql -u root -p and enter the password when it is asking

提交回复
热议问题