本機可通過ip訪問Mysql數據庫的小方式

1:win+R鍵入cmd 2:在cmd中鍵入」mysql -u root -p「 Tips:其中,root是用戶名稱,可以根據需要進行更改 3:在cmd中鍵入」show databases;「 確認下你的所有數據庫。 4:在cmd中鍵入「grant all privileges on '*' to 'name'@'%'  identified by 'password'; 」 Tips:*代表所要
相關文章
相關標籤/搜索