Solved problem with mysql database remote connection

urgido

Verified User
Joined
Oct 28, 2008
Messages
441
Hi
I am unable to connect to database remote.

Here is what I got from my php test script: Error: Connection refused

mysql -V
mysql Ver 15.1 Distrib 10.6.23-MariaDB, for Linux (x86_64) using readline 5.1
Allowed Host: %
TCP_IN (configserver): 3306
3306tcp4/-2316788mysql/usr/sbin/mysqld/usr/sbin/mariadbd
cat /etc/my.cnf
#
# This group is read both by the client and the server
# use it for options that affect everything
#
[client-server]

#
# include *.cnf from the config directory
#
!includedir /etc/my.cnf.d

FYI: localhost works perfect.

Any idea how I can fix it?

Thank you
Best regards
 
Last edited:
Back
Top