Connecting To Non-MySQL DBMS Leads To C/J Exception: Malformed database URL, failed to parse the main URL sections.

(Doc ID 2414262.1)

Last updated on JUNE 22, 2018

Applies to:

MySQL Server - Version 8.0 and later
Information in this document applies to any platform.

Symptoms

Connector/J is throwing exception even though application tries to connect to Oracle database.

 

Changes

Changing some connection properties,  such as setting a blank password in the Oracle connection string, can lead to this unexpected issue in Connector/J.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms