My Oracle Support Banner

ORA-02153 and ORA-00987 errors for Liquibase Genschema Scripts When Loaded with Database Links (Doc ID 2852134.1)

Last updated on NOVEMBER 14, 2022

Applies to:

Oracle SQLcl - Version 21.2 and later
Information in this document applies to any platform.

Symptoms

Generated schema scripts using Liquibase from SQLcl. When trying to load the scripts to create a new schema shows below error.

CREATE DATABASE LINK "<DB_LINK_NAME>"
CONNECT TO IDENTIFIED BY VALUES ':1'USING '<DATABASE_NAME>'
Error report -
ORA-00987: missing or invalid username(s)
00987. 00000 - "missing or invalid username(s)"
*Cause:
*Action:

######## ERROR SUMMARY ##################
Errors encountered:3

######## ERROR ##################
runSqlReturnResult

Error starting at line : 1 in command -
CREATE DATABASE LINK "<DB_LINK_NAME>"
CONNECT TO IDENTIFIED BY VALUES ':1'USING '<DATABASE_NAME>'

Changes

 New install of SQLcl 21.2 and trying to create schema using Liquibase generated scripts.

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.