PyCharm: MySQL driver error

Answered

When trying to connect to a local MySQL database (Mac 10.11.6) from PyCharm, it's failing with a strange connection error that I'm not finding in the forum or google: 

Error: org/jetbrains/dekaf/jdbc/CHouseIntermediateFacade



I've deleted and reinstalled the driver and also tried downgrading. Neither had any effect.

Interestingly, I'm not having any problem connecting to the same database with DataGrip or PHPStorm.

Anyone have an idea about what's going on? I'm stumped.

Thanks,

-Steve

0
3 comments

Which PyCharm and DataGrip versions did you try? Could you please reinstall PyCharm to an empty folder?

0
Avatar
Permanently deleted user

Thanks Pavel, the reinstall fixed it. Just for posterity sake:

The version of PyCharm affected was up to date:

I initially reinstalled to the desktop. When the connection to MySQL was established without any issue, I deleted the copy in my Applications folder and moved the Desktop copy over. Everything seems happy now.

I know it's hard to diagnose without seeing the system, but if you have any suspicions about what went wrong I'd be interested to hear your thoughts.

Thanks again,

-Steve

0

I think the installation got corrupted. It usually happens when the new IDE version is manually installed over the old one.

0

Please sign in to leave a comment.