MariaDB not allowing remote connections

后端 未结 3 1371
感情败类
感情败类 2021-02-04 07:32

As the screenshots show, I have the accounts setup to allow remote connections but as shown in the second screenshot I still cannot connect remotely.

3条回答
  •  无人共我
    2021-02-04 08:25

    Mysql by default binds to 0.0.0.0 which is all interfaces on your system. Which means you can already connect from another computer. The issue is perhaps permissions. You can enable remote connections by running the following command:

    GRANT ALL PRIVILEGES ON *.* TO 'root'@'192.168.%' IDENTIFIED BY '' WITH GRANT OPTION;
    

提交回复
热议问题