[SOLVED] DBeaver has been working amazing for 2 months straight...then...I'm getting Access denied for user
See original GitHub issueSystem information:
- Debian 10
- DBeaver 7.2.3
Connection specification:
- MariaDB Database name: Server version: 10.3.25-MariaDB-0+deb10u1-log Debian 10
Describe your question:
- (EDIT/NOTE: I have been using a web-based cPanel alternative and updated 20-something packages a couple days ago. That’s the only changes I made to the system other than all my website edits.)
No issues since first installation. Now today I keep getting errors on authentication. I use the exact same information on an xterm ssh’d into the webhost and can do select queries, etc on the MariaDB CLI but nothing here. 😿
java.sql.SQLException: Access denied for user 'myadminacct'@'%' to database 'mydatabase' at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.authentication(AbstractConnectProtocol.java:855) at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.handleConnectionPhases(AbstractConnectProtocol.java:757) at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connect(AbstractConnectProtocol.java:415) at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connectWithoutProxy(AbstractConnectProtocol.java:1128) at org.mariadb.jdbc.internal.util.Utils.retrieveProxy(Utils.java:620) at org.mariadb.jdbc.MariaDbConnection.newConnection(MariaDbConnection.java:175) at org.mariadb.jdbc.Driver.connect(Driver.java:92) at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.lambda$0(JDBCDataSource.java:173) at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.openConnection(JDBCDataSource.java:192) at org.jkiss.dbeaver.ext.mysql.model.MySQLDataSource.openConnection(MySQLDataSource.java:400) at org.jkiss.dbeaver.model.impl.jdbc.JDBCExecutionContext.connect(JDBCExecutionContext.java:97) at org.jkiss.dbeaver.model.impl.jdbc.JDBCRemoteInstance.initializeMainContext(JDBCRemoteInstance.java:91) at org.jkiss.dbeaver.model.impl.jdbc.JDBCRemoteInstance.<init>(JDBCRemoteInstance.java:57) at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.initializeRemoteInstance(JDBCDataSource.java:106) at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.<init>(JDBCDataSource.java:101) at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.<init>(JDBCDataSource.java:90) at org.jkiss.dbeaver.ext.mysql.model.MySQLDataSource.<init>(MySQLDataSource.java:87) at org.jkiss.dbeaver.ext.mysql.MySQLDataSourceProvider.openDataSource(MySQLDataSourceProvider.java:132) at org.jkiss.dbeaver.registry.DataSourceDescriptor.connect(DataSourceDescriptor.java:855) at org.jkiss.dbeaver.runtime.jobs.ConnectJob.run(ConnectJob.java:70) at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:105) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Issue Analytics
- State:
- Created 3 years ago
- Comments:6
Top GitHub Comments
Thanks for anyone reading this, but I closed and re-opened DBeaver to confirm all’s well and it reconnected again. faints 😛
Wasn’t IP changed? Could you please send log files?