Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Reach MySQL from the outside

Featured Replies

Hi,

I have a cubietruck 3 with a Debian "Buster".

I am looking to connect to the MySQL server to reach an outside database. Everywhere, it is said to comment out the line containing "bind-address = 172.0.0.1". This is done and the server listens on all ports.

I still can't reach it, there must be something else to do but the tutorials don't say it.

Thanks

mysql.png

  • Author
58 minutes ago, martinayotte said:

Did you try to bind to 0.0.0.0 ?

The problem is always present.

I think it is the server where MySQL is installed that is blocking. If I start a connection through an SSH as root, I can connect to it remotely. I am using Lazarus and in the connection component, I cannot create an SSH connection.

 

PS : I think I have found, I did not open port 3306 on the router. I can't do it until tonight. I am not there.

Thanks

  • Author

Yes, It was that.

about security, you can also choose another port number for outside network, preventing hackers ... -> Yes, it's only for a test, a pre-project and therefore temporary.

I will then communicate the database to the IT department who will host it on their server and the necessary security.

Thanks

François

On 8/2/2020 at 2:56 PM, Club AC-News said:
 

 

mysql.png

a client for amavisd-new is using 3306 on localhost (ipv4), stop it, wait for it to clear, restart mysqld, check, then start amavisd.

 

@Werner sshguard works excellent.

Guest
This topic is now closed to further replies.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.