GeyserMC / Floodgate

Hybrid mode plugin to allow for connections from Geyser to join online mode servers.
https://geysermc.org
MIT License
575 stars 170 forks source link

How to specify port for floodgate-mysql-database? #359

Closed angushushu closed 2 years ago

angushushu commented 2 years ago

Hi, we are using floodgate-mysql-database.jar for local linking. However, our MySQL uses a port different than 3306, and seems this causes floodgate-mysql-database.jar unable to connect to our MySQL database. I wonder if there's a way to specify the port of MySQL in mysql.yml or somewhere else?

Tim203 commented 2 years ago

I expect that in the hostname field you can just place the port number after the hostname. E.g.: host.name:1234

angushushu commented 2 years ago

I expect that in the hostname field you can just place the port number after the hostname. E.g.: host.name:1234

Hey Tim, I tried for the master branch, and it didn't work. I'm trying with the dev branch

angushushu commented 2 years ago

I expect that in the hostname field you can just place the port number after the hostname. E.g.: host.name:1234

It worked with dev branch! Appreciated that!