本机可通过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:*代表所要
相关文章
相关标签/搜索