mysql中輸入如下命令
grant all privileges on *.* to 'remote'@'%' identified by '123456' with grant option;
- remote為登錄的賬號
- 123456為登錄的密碼
注意,window系統(tǒng)內(nèi)需要把防火墻關(guān)閉,控制面板-->系統(tǒng)和安全-->Windows 防火墻,啟動或關(guān)閉Windows防火墻
mysql中輸入如下命令
grant all privileges on *.* to 'remote'@'%' identified by '123456' with grant option;
注意,window系統(tǒng)內(nèi)需要把防火墻關(guān)閉,控制面板-->系統(tǒng)和安全-->Windows 防火墻,啟動或關(guān)閉Windows防火墻