mysql使用注意事項

一、mysql

啓動mysql服務端:net start mysql

停止mysql服務端:net stop mysql

啓動mysql客戶端:mysql -uroot -p  然後輸入密碼:

查看mysql的用戶名和密碼:select * from mysql.user    只能查看用戶名和加密後的密碼

 

二、mysql administrator

啓動mysql administrator過程中遇到的問題:

Either the server service or the configuration file could not be found.Startup variable and service section are there for disabled 並且登錄進去之後 This section is only avaliable when connected to localhost

解決辦法:

點擊MySQL Administrator,先不登錄,按住ctrl 鍵後最右邊的cancel鍵變成skip 點擊進入,修改配置my.ini的參數,然後重新啓動。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章