Ubuntu MC Server: Towny Connection error.

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Pharaoh

New Member
Jul 29, 2019
3
0
0
00:41:37 [INFO] ==================== Towny ========================
00:41:38 [INFO] [Towny] Database: [Load] mysql [Save] mysql
00:41:38 [WARNING] [Towny] Error: Error could not Connect to db jdbc:mysql://localhost:3306/gdmc: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
00:41:38 [WARNING] [Towny] Error: Failed when connecting to Database
00:41:38 [WARNING] [Towny] Error: Error could not Connect to db jdbc:mysql://localhost:3306/gdmc: Communications link failure



Now... I set all the pertinent information correctly in the lwc core.yml file.
I set the iptables and ufw to accept tcp incoming outgoing
I have the mysql dba and tables set
and I have the permission set on the user for that mysql db.

Where am I going wrong?[DOUBLEPOST=1388623987][/DOUBLEPOST]the way the core is set up...

database:
adapter: mysql
path: /games/ftp/plugins/LWC/lwc.db
host: localhost
database: ******
username: '*****'
password: '****'