Remote Mysql access

前端 未结 6 1516
伪装坚强ぢ
伪装坚强ぢ 2020-12-18 15:50

I have problem to connect remote LAN MYSQL. While try following commands it shows the following error.

$ mysql -u root -h 192.168.1.15 -p
mysql>

6条回答
  •  不思量自难忘°
    2020-12-18 16:30

    As above, getting rid of "skip-networking" in my.cnf need to be done.

    However, on some configurations, that is over-ridden by SKIP="--skip-networking" in a start-up file, such as rc.mysqld. So take that out also.

    Does hosts.allow permit one machine to talk to the other in any case?

    And leave us not forget the actual documentation.

提交回复
热议问题