將本地的mysql數據庫設置爲容許遠程訪問

將本地的mysql數據庫設置爲容許遠程訪問mysql >use mysql;sql mysql>grant all privileges on *.* to 'root'@'%' with grant option;數據庫 mysql>update user set password=password('密碼') where user='root';it mysql>flush privilege
相關文章
相關標籤/搜索