question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[SOLVED] DBeaver has been working amazing for 2 months straight...then...I'm getting Access denied for user

See original GitHub issue

System 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:closed
  • Created 3 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
GreenSagecommented, Oct 27, 2020

Thanks for anyone reading this, but I closed and re-opened DBeaver to confirm all’s well and it reconnected again. faints 😛

1reaction
kseniiaguzeevacommented, Oct 26, 2020

Wasn’t IP changed? Could you please send log files?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Access denied for user 'root'@'localhost' in dbeaver
Maybe this advice will help you to solve the error. Your user's password should not contain any special characters.
Read more >
DBeaver: Access denied for user 'root'@'localhost' (using ...
I am using DBeaver client Version 7.0.2 and have setup a new MySQL 8+ Database connection. However, when I attempt to connect to...
Read more >
cannot access db tables - DBeaver Forum • View topic
I'm using MySQL and there is no change to the way MySQL was configured. The problem goes away if i downgrade back to...
Read more >
MySQL 1064 Error: You have an error in your SQL syntax
The 1064 error displays any time you have an issue with your SQL syntax, and is often due to using reserved words, missing...
Read more >
Use Sign Data to Tie Speed Limits to CTN
There have been situations where Requesters are giving us work orders with more than 50 locations to install/remove signs from.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found