- Steam or Standalone?
- Steam
- Singleplayer or multiplayer?
- Multiplayer
- Error message?
- No
- Operating system
- Windows
Has anyone setup a MySQL server recently? I've not done this in a few years and I'm stuck!
I thought I would rebuilt my local test server on my workstation - clean OS install.
I've installed the latest MySQL Community (v8) including the shell. Last one I used was version 6!
Opened the MySQL Shell up and created a database called `risingworld` also creating a user called `rwadmin` and assigned the user all privileges to the new database. Reopened the shell and connected with new credentials to database to check working. Sure was!
I have then installed a local copy of the RW standalone server via the SteamCMD tool. I won't bore you with screenshots...
I've then gone and changed the server.properties file to reflect the MySQL server.
I run the win_startscript.bat but the server fails to start.
java.sql.SQLInvalidAuthorizationSpecException: Access denied for user 'rwadmin'@'localhost' (using password: NO)
at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connectWithoutProxy(AbstractConnectProtocol.java:1113)
Current charset is windows-1252. If password has been set using other charset, consider using option 'passwordCharacterEncoding'
at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.authentication(AbstractConnectProtocol.java:854)
at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.handleConnectionPhases(AbstractConnectProtocol.java:777)
at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connect(AbstractConnectProtocol.java:451)
at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connectWithoutProxy(AbstractConnectProtocol.java:1109)
java.sql.SQLInvalidAuthorizationSpecException: Access denied for user rwadmin@localhost (using password: NO)
at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connectWithoutProxy(AbstractConnectProtocol.java:1113)
Current charset is windows-1252. If password has been set using other charset, consider using option passwordCharacterEncoding
at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.authentication(AbstractConnectProtocol.java:854)
at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.handleConnectionPhases(AbstractConnectProtocol.java:777)
at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connect(AbstractConnectProtocol.java:451)
at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connectWithoutProxy(AbstractConnectProtocol.java:1109)
Current charset is windows-1252. If password has been set using other charset, consider using option passwordCharacterEncoding
at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.authentication(AbstractConnectProtocol.java:854)
at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.handleConnectionPhases(AbstractConnectProtocol.java:777)
at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connect(AbstractConnectProtocol.java:451)
Clearly the Access denied for user 'rwadmin'@'localhost' (using password: NO) is to blame - but I don't get why the password I've supplied in the server.properties file is not being used
I'm a little lost.