liquibase.exception.DatabaseException: Error executing SQL select user_name(): Incorrect syntax near the keyword 'select'.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via JIRA by Consultant Leon, 1 year ago
Error executing SQL select user_name(): Incorrect syntax near the keyword 'select'.
via JIRA by Willem Cazander, 1 year ago
Error executing SQL select schema_name(): Incorrect syntax near the keyword 'select'.
via JIRA by Willem Cazander, 1 year ago
Error executing SQL select schema_name(): Incorrect syntax near the keyword 'select'.
via JIRA by Nathan Voxland, 1 year ago
Error executing SQL call current_schema: A syntax error has occurred.
via JIRA by Nathan Voxland, 1 year ago
Error executing SQL call current_schema: A syntax error has occurred.
via Stack Overflow by Mark Wojciechowicz
, 9 months ago
Error executing SQL SELECT MD5SUM FROM au dit.databasechangelog WHERE MD5SUM IS NOT NULL LIMIT 1: ERROR: relation "audit.d atabasechangelog" does not exist Position: 20
liquibase.exception.DatabaseException: Error executing SQL select user_name(): Incorrect syntax near the keyword 'select'.
at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:88)
at liquibase.executor.jvm.JdbcExecutor.query(JdbcExecutor.java:117)
at liquibase.executor.jvm.JdbcExecutor.query(JdbcExecutor.java:128)
at liquibase.executor.jvm.JdbcExecutor.queryForObject(JdbcExecutor.java:136)
at liquibase.executor.jvm.JdbcExecutor.queryForObject(JdbcExecutor.java:151)
at liquibase.executor.jvm.JdbcExecutor.queryForObject(JdbcExecutor.java:146)
at liquibase.database.AbstractJdbcDatabase.getConnectionSchemaName(AbstractJdbcDatabase.java:324)
at liquibase.database.AbstractJdbcDatabase.getDefaultSchemaName(AbstractJdbcDatabase.java:305)
at liquibase.database.AbstractJdbcDatabase.toString(AbstractJdbcDatabase.java:881)
at liquibase.executor.jvm.JdbcExecutor.query(JdbcExecutor.java:117)
at liquibase.executor.jvm.JdbcExecutor.query(JdbcExecutor.java:128)
at liquibase.executor.jvm.JdbcExecutor.queryForObject(JdbcExecutor.java:136)
at liquibase.executor.jvm.JdbcExecutor.queryForObject(JdbcExecutor.java:151)
at liquibase.executor.jvm.JdbcExecutor.queryForObject(JdbcExecutor.java:146)
at liquibase.database.AbstractJdbcDatabase.getConnectionSchemaName(AbstractJdbcDatabase.java:324)
at liquibase.database.AbstractJdbcDatabase.getDefaultSchemaName(AbstractJdbcDatabase.java:305)
at liquibase.changelog.ChangeLogParameters.(ChangeLogParameters.java:54)
at liquibase.Liquibase.(Liquibase.java:104)

Users with the same issue

Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.