Skip to Main Content

SQL Developer

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SQL Developer MySQL connection error

JeffDumbellAug 22 2017 — edited Aug 22 2017

I've been trying to set up a connection to MySQL from SQL Developer for several days now, but can't get past the above error.  I've followed the instructions i.e. downloaded the latest .jar file from MySQL, saved on my laptop, and added and entry in the Third Party Drivers.  I have the MySQL tab in my connections, but when I try to connect to my MySQL database (which is on a virtual linux machine in virtualbox) I get the following error:

Status : Failure -Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

I can ping the ip address for my VM from my laptop so not quite sure what's going wrong.

Has anybody else has this issue and resolved it successfully?  If so I'd be grateful for some advice.

SQL Developer Version 4.1.5.21

MySQL version 5.6.32

MySQL JDBC Driver version 5.1.43

Oracle Linux 7

Regards,

Jeff

Comments

gdarling - oracle
Answer
MSDAORA doesnt have a 64 bit version. You'll need to either switch the app to 32 bit and use a 32 bit Oracle client, or use a 64 bit client and oledb provider instead (Ie, Oracle's provider - ORAOLEDB.ORACLE)

Hope it helps,
Greg
Marked as Answer by 730380 · Sep 27 2020
730380
Hello,
thanks for your answer. I downloaded the oracle provider set and changed it in my source code. now it works.
984544
Can you give me the link where you download and how you changed
Tridus
You can download from here: http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html

The simplest change is in the connection string for your application. If you're lucky, no other changes will be required. Need to do testing to verify that for your code though. :)
1 - 4
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Sep 19 2017
Added on Aug 22 2017
2 comments
1,405 views