Castellarnau Aurélien
New Pleskian
Hello everyone,
I'm in difficulties trying to reach a newly created database on plesk platform from my windows host.
The final goal is to open a connection from a golang application in a docker container. For now, i try to connect my app to the remote database from my windows without any docker context. Fail after fail, i have read a lot, followed the documentation and all relatives forum threads without any success...
Context:
Plesk Onyx Version 17.5.3 Update #39
CentOs Linux 7.4.1708 (Core)
mysql Ver 15.1 Distrib 5.5.56-MariaDB, for Linux (x86_64) using readline 5.1
Firewall: MySQL server Allow incoming from all
ACL: plesk bin database -u db_name -update_user user_name -passwd sample -add-access % => done
And by IHM: Allow remote connections from any host => check
my.cnf : i tried all founded solutions one by one ( bind address = 0.0.0.0 or :: or commented bind_address)
Local connection trought ssh works fine with user credentials.
To reach the mysql server from a distant host i use:
mysql -u username -p -h ip => ERROR 2002 (HY000): Can't connect to MySQL server on 'ip' (10060)
or
golang tcp dial with or without custom TLSconfig (using ozzo/dbx) => no answer
A little bit worry about the facts that relatives threads have no answers or given answers don't works for me.
What did i missed?
Thanks
I'm in difficulties trying to reach a newly created database on plesk platform from my windows host.
The final goal is to open a connection from a golang application in a docker container. For now, i try to connect my app to the remote database from my windows without any docker context. Fail after fail, i have read a lot, followed the documentation and all relatives forum threads without any success...
Context:
Plesk Onyx Version 17.5.3 Update #39
CentOs Linux 7.4.1708 (Core)
mysql Ver 15.1 Distrib 5.5.56-MariaDB, for Linux (x86_64) using readline 5.1
Firewall: MySQL server Allow incoming from all
ACL: plesk bin database -u db_name -update_user user_name -passwd sample -add-access % => done
And by IHM: Allow remote connections from any host => check
my.cnf : i tried all founded solutions one by one ( bind address = 0.0.0.0 or :: or commented bind_address)
Local connection trought ssh works fine with user credentials.
To reach the mysql server from a distant host i use:
mysql -u username -p -h ip => ERROR 2002 (HY000): Can't connect to MySQL server on 'ip' (10060)
or
golang tcp dial with or without custom TLSconfig (using ozzo/dbx) => no answer
A little bit worry about the facts that relatives threads have no answers or given answers don't works for me.
What did i missed?
Thanks