MySQL: How to allow remote connection to mysql

后端 未结 16 1136
北海茫月
北海茫月 2020-11-21 06:15

I have installed MySQL Community Edition 5.5 on my local machine and I want to allow remote connections so that I can connect from external source.

How can I do that

16条回答
  •  离开以前
    2020-11-21 07:00

    some times need to use name of pc on windows

    first step) put in config file of mysql:

    mysqld.cnf SET bind-address= 0.0.0.0

    (to let recibe connections over tcp/ip)

    second step) make user in mysql, table users, with name of pc on windows propierties, NOT ip

提交回复
热议问题