1、 鼠標右擊 此電腦 -->屬性
如圖:進行步驟 1->2->3
接下來就可以使用命令mysql -u root -p登錄mysql了
啟動mysql的命令為net start mysql
關閉mysql的命令為net stop mysql
注意要在window下啟動mysql,如下
以下是錯誤操作
接下來就可以使用命令mysql -u root -p登錄mysql了 啟動mysql的命令為net start mysql 關閉mysql的命令為net stop mysql
[Jiē xiàlái jiù kěyǐ shǐyòng mìnglìng mysql -u root -p dēnglù mysqlle qǐdòng mysql de mìnglìng wèi net start mysql guānbì mysql de mìnglìng wèi net stop mysql]

Then you can use the command mysql -u root -p mysql log on the
Start the mysql command net start mysql
Close the mysql command net stop mysql
Start the mysql command net start mysql
Close the mysql command net stop mysql