I am trying to connect to a MariaDB database (v 5.5.52) that is running on port 3306 on a CentOS (v 7.3.1611) box
For security reasons the server's port 3306 is firewalled (telnet mysite.com 3306
times out)
Because I can ssh into the server with a configured connection:
ssh projectx
and then connect to the database:
mysql -u remote -p
use staff;
I am expecting this connection in Sequel Pro to get me connected from my laptop:
But I am getting this error message:
Unable to connect to host 127.0.0.1, or the request timed out. MySQL said: Lost connection to MySQL server at 'reading initial communication packet', system error: 0
The user has these grants:
show grants for 'remote'@'%';
+----------------------------------------------------------------------------------+
| Grants for remote@% |
+----------------------------------------------------------------------------------+
| GRANT USAGE ON *.* TO 'remote'@'%' IDENTIFIED BY PASSWORD 'redacted' |
| GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP ON `staff`.* TO 'remote'@'%' |
+----------------------------------------------------------------------------------+
And I have this in the [mysqld] section of my.cnf
bind-address = *
No errors logged in /var/log/mariadb/mariadb.log