兰枝 發表於 2023-8-31 19:15:08

解决mysql 数据库内网访问题

进入mysql环境中,依次执行:<br />1.mysql -uroot -p&nbsp;&nbsp;<br />2.Enter password:&nbsp;&nbsp;<br />3.grant all privileges on *.* to hyabc@&quot;%&quot; identified by 'hy123456' with grant option;&nbsp;&nbsp;<br />4.flush privileges;<br />5.exit<br />hyabc:用户名&nbsp; &nbsp;hy123456:密码<br /><br />mysql<em>, </em>grant<em>, </em>privileges<em>, </em>hyabc<em>, </em>hy123456
頁: [1]
查看完整版本: 解决mysql 数据库内网访问题