Running "dbsetup" In OAG Analytics Errors With a Failed to Connect Error

(Doc ID 2008389.1)

Last updated on MAY 17, 2016

Applies to:

Oracle API Gateway - Version 11.1.2 and later
Information in this document applies to any platform.


After installing Oracle API Gateway and the OAG Analytics component, running "dbsetup" under "OAG Analytics" causes the following error:

oagdev:/opt/SP/domains/OAG1/oaganalytics/posix/bin $ ./dbsetup

Connecting to configuration at : federated:file:////opt/SP/domains/OAG1/oaganalytics/conf/fed/configs.xml

Using Configured Database:

DB Name: Default Database Connection

DB URL: jdbc:mysql://

DB User: root

The default database connection failed to connect. Please re-run the

analytics setup program, or use manual connection options.

The OAG installation document talks about running the script "dbschema.sql" instead of "dbsetup" but this SQL script does not exist.



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