CB trying to connect to database locally, even though remote database is set...
pixelbat opened this issue ยท 2 comments
My Minecraft server's IP changed last night, and ever since CB has now been trying to connect to the database locally (the same IP as the Minecraft server) and is totally ignoring the IP to the webapp/database in the config file. The webapp and database IP did not change.
This is the error sent to console... [15:15:35] [Server thread/ERROR]: [CommunityBridge] Could not connect to MySQL Server:Access denied for user 'XXXX'@'98.XXX.153.168' (using password: YES)
Here is the database config...
Hostname for your MySQL Server
hostname: 192.XXX.193.69
MySQL Port
port: 3306
Database Name
name: XXXX
Database Username
username: XXXX
Database Password
password: XXXX
Everything has worked fine and great for several months. However because I am hosting the server locally the IP is dynamic, although rather sticky. I had a power outage yesterday and the router was offline for an extended period of time, so it was long enough for a new IP to be issued. So MC server (not the website or database) has a new IP. I'm not sure why that matters, considering the website and database are remotely hosted and that IP has never changed.
Any idea as to why my CB all of a sudden is trying to access a database locally and ignoring my database settings in the config?
Thanks
Ok, Please disregard this issue. I totally forgot that my web/database host requires the IP for the remote. Since the servers IP changed, it needed to be updated. I feel dumb now :<