Recommended Posts

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

Link to post
Share on other sites
Armbian is a community driven open source project. Do you like to contribute your code?
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

Link to post
Share on other sites

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

Link to post
Share on other sites
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 :)

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...