Page 1 of 1

MySQL accessible from outside?

Posted: Mon Jul 04, 2016 6:28 pm
by canoodle
although in my tests i was not able to connect to my vserver@hetzner from local terminal via mysql-client... i think for security reasons it might be better to not allow mysql-access and ftp (use sftp which works solely with ssh) from outside?

Image

Re: MySQL accessible from outside?

Posted: Tue Jul 05, 2016 9:35 pm
by Syeef
Yes, it is accessible from outside.

I was receiving Brute-Force attack on my MySQL port so I Suspended it in Firewall, now there is no more attack.

Unless you have someone using Remote MySQL on server, it's better to suspend the port from Firewall, because it is just sitting duck [my opinion].

Re: MySQL accessible from outside?

Posted: Fri Aug 05, 2016 6:41 am
by WilliamAnderson
I know this article is not about SSH but rather I simply needed to say that those that are mistaken for these configuration changes or restless about doing them can simply utilize an SSH customer (I utilize Putty) and utilize burrowing to then get to MySQL information as 'localhost'. Continues everything secured and I utilize the MySQL manager and Query Browser with no issues on a windows 7 machine. . I do have a nearby dev MySQL server running on my machine so I do need to stop that administration when I burrow into the remote MySQL Debian Linux machines.

Re: MySQL accessible from outside?

Posted: Fri Aug 05, 2016 3:30 pm
by abad
Mysql should be bound to 127.0.0.1 by default. As well as Apache when using in configuration with Nginx (as I explained in other topic).

Re: MySQL accessible from outside?

Posted: Wed Aug 17, 2016 6:17 am
by LukeKniep
I am using debian linux. I have a linux machine on which mysql is install. I can log in to my linux machine using root user as well as other user. [delete by moderator:spam] .I can connect to mysql database on linux machine from windows machine using sqlyog. Now I want to execute queries on linux machine only using linux terminal.