Mysql upgrade to 5.7.9 breaks 0xDBE compatibility

After upgrading to the latest mysql, 0xDBE refuses to display schema data with this error:

[HY000][1682] Native table 'performance_schema'.'session_variables' has the wrong structure

This is after a mysql_upgrade, and I am not browsing the performance schema.  I can log in and access data nominally using the mysql command line client.  I tried re-downloading the mysql driver with no change in response.

0xDBE 143.732.5
OSX 10.11.1
Mysql 5.7.9
Mysql Driver 5.1.35

3 comments
Comment actions Permalink

Here's the full stack trace:

 
-- java.sql.SQLException: Native table 'performance_schema'.'session_variables' has the wrong structure
--   at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:998)
--   at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3835)
--   at com.mysql.jdbc.MysqlIO.nextRowFast(MysqlIO.java:2047)
--   at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1921)
--   at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.java:3263)
--   at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:462)
--   at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:2997)
--   at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:2245)
--   at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2638)
--   at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2531)
--   at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2489)
--   at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1446)
--   at com.mysql.jdbc.ConnectionImpl.loadServerVariables(ConnectionImpl.java:3834)
--   at com.mysql.jdbc.ConnectionImpl.initializePropsFromServer(ConnectionImpl.java:3274)
--   at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2283)
--   at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2069)
--   at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)
--   at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:44)
--   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
--   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
--   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
--   at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
--   at com.mysql.jdbc.Util.handleNewInstance(Util.java:389)
--   at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:399)
--   at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:325)
--   at com.intellij.database.remote.jdbc.impl.RemoteDriverImpl.connect(RemoteDriverImpl.java:27)
--   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
--   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
--   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
--   at java.lang.reflect.Method.invoke(Method.java:497)
--   at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)
--   at sun.rmi.transport.Transport$1.run(Transport.java:200)
--   at sun.rmi.transport.Transport$1.run(Transport.java:197)
--   at java.security.AccessController.doPrivileged(Native Method)
--   at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
--   at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
--   at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
--   at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$255(TCPTransport.java:683)
--   at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$2/1339986083.run(Unknown Source)
--   at java.security.AccessController.doPrivileged(Native Method)
--   at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
--   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
--   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
--   at java.lang.Thread.run(Thread.java:745)
--   at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
--   at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
--   at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
--   at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:194)
--   at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:148)
--   at com.sun.proxy.$Proxy98.connect(Unknown Source)
--   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
--   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
--   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
--   at java.lang.reflect.Method.invoke(Method.java:497)
--   at com.intellij.execution.rmi.RemoteUtil.invokeRemote(RemoteUtil.java:124)
--   at com.intellij.execution.rmi.RemoteUtil.access$100(RemoteUtil.java:36)
--   at com.intellij.execution.rmi.RemoteUtil$RemoteInvocationHandler.invoke(RemoteUtil.java:229)
--   at com.sun.proxy.$Proxy99.connect(Unknown Source)
--   at com.intellij.database.dataSource.LocalDataSource.getConnection(LocalDataSource.java:297)
--   at com.intellij.database.dataSource.LocalDataSource.getConnection(LocalDataSource.java:265)
--   at com.intellij.database.util.DbImplUtil.getConnection(DbImplUtil.java:448)
--   at com.intellij.database.access.ConnectionProvider$1.acquireImpl(ConnectionProvider.java:78)
--   at com.intellij.database.access.ConnectionProvider.acquire(ConnectionProvider.java:43)
--   at com.intellij.database.editor.DatabaseEditorHelper.loadDefinition(DatabaseEditorHelper.java:303)
--   at com.intellij.database.editor.DatabaseEditorHelper.loadDefinition(DatabaseEditorHelper.java:297)
--   at com.intellij.database.editor.DatabaseEditorHelper$4.run(DatabaseEditorHelper.java:376)
--   at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:365)
--   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
--   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
--   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
--   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
--   at java.lang.Thread.run(Thread.java:745)
--   at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:55)
0
Comment actions Permalink

I had the same problem. Try mysql_upgrade and then restart mysql

0
Comment actions Permalink

Well that's interesting.  I had done the mysql_upgrade & restart which changed the error from 'table doesn't exist' to 'table in the wrong format', but a full reboot fixed it right up.  Thanks for the prompt.  :)

0

Please sign in to leave a comment.