Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

18 hours ago, martinayotte said:

you can also choose another port number for outside network, preventing hackers ...

security through obscurity was never a good practice IMHO...

Though I have to admit that I change my SSH ports too to avoid background noise spamming the logs :)

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.

Account

Navigation

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.