• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Failed connecting to database - MYSQL ERROR: Can't connect to MyS

dunnish

New Member
Joined
Jun 18, 2009
Messages
277
Solutions
1
Reaction score
3
[22:26:21.196] >> Starting SQL connection
[22:26:22.204] Failed connecting to database - MYSQL ERROR: Can't connect to MyS
QL server on '192.168.1.229' (10061) (2003)

[22:26:22.204] > ERROR: Couldn't estabilish connection to SQL database!

im trying to have the database on a other server ( ubuntu 16.04)
 
Solution
i wrote
Code:
sudo nano /etc/mysql/mysql.conf.d/mysqld.cnf

and changed from
bind-address = 127.0.0.1
to
bind-address = 0.0.0.0

its mean everyone are aloe to acces it.
(its not secure sulosion)
i recommand that you use the static ipadress on the webserver.
i wrote
Code:
sudo nano /etc/mysql/mysql.conf.d/mysqld.cnf

and changed from
bind-address = 127.0.0.1
to
bind-address = 0.0.0.0

its mean everyone are aloe to acces it.
(its not secure sulosion)
i recommand that you use the static ipadress on the webserver.
 
Solution
Back
Top