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.
相关问题
- sqlyog export query result as csv
- Inheritance impossible in Windows Runtime Componen
- NOT DISTINCT query in mySQL
- how to get running process information in java?
- MySQL: conduct a basic search
I use for testing in the virtual machine (Ubuntu 16.04), for me, I fixed the error changing the file
50-server.cnf
.My server is Ubuntu, so changing the file below:
The path of this file:
PS: Create a backup of the file before the change.
Only change in file the
bind-address 127.0.0.0
tobind-address 0.0.0.0
After this restart service and try again.
Regarding that user, need to allow for external connections.
I hope that this info helps you.
MariaDB packages bind MariaDB to 127.0.0.1 (the loopback IP address) by default as a security measure using the bind-address configuration directive. Old MySQL packages sometimes disabled TCP/IP networking altogether using the skip-networking directive.
Steps to allow remote connections are provided in the MariaDB Knowledge Base at https://mariadb.com/kb/en/mariadb/configuring-mariadb-for-remote-client-access/
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: