ubuntu与mysql5.7设置外网可访问
                                                            生活随笔
收集整理的這篇文章主要介紹了
                                ubuntu与mysql5.7设置外网可访问
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.                        
                                ①grant all privileges /etc/mysql/mysql.conf.d/mysqld.cnf
 bind-address? = 0.0.0.0
 ②grant all privileges on proxy.* to appleyuchi@"%" identified by "appleyuchi";(不確定這個是否有用)
③service mysql restart
?
?
-------------------------------------------------------測試----------------------------------------------------------------
mysql> show global variables like 'port';
 +---------------+-------+
 | Variable_name | Value |
 +---------------+-------+
 | port ? ? ? ? ?| 3306 ?|
 +---------------+-------+
 1 row in set (0.00 sec)
測試
mysql -h ?具體的IP -P 3306 ?-u appleyuchi -p
創作挑戰賽新人創作獎勵來咯,堅持創作打卡瓜分現金大獎總結
以上是生活随笔為你收集整理的ubuntu与mysql5.7设置外网可访问的全部內容,希望文章能夠幫你解決所遇到的問題。
 
                            
                        - 上一篇: 剪映app怎么重启找回视频(剪映视频创作
- 下一篇: cf蝴蝶属性 CF官方网站
