How to connect from windows command prompt to mysql command line

后端 未结 16 1929
南旧
南旧 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:19

    You are logging in incorrectly; you should not include = in your login. So to log in, type:

    mysql.exe -uroot -padmin
    

    If that doesn't work, then you may not have your system configured. If so, then here's a good tutorial on getting started with the MySQL prompt: http://breakdesign.blogspot.com/2007/11/getting-started-with-php-and-mysql-in_11.html

提交回复
热议问题