java.sql.SQLException: No database selected with MySQL datasource in JBoss

Discussão em 'StackOverflow' iniciado por Stack, Dezembro 30, 2020.

  1. Stack

    Stack Membro Participativo

    I have a JBoss EAP 7.3 server and I have created a MySQL datasource

    [​IMG]

    When my app tries to execute a query (just a simple select statement), it throws java.sql.SQLException: No database selected

    According to the datasource setting I have already specified the database name in the URL.It should have selected the database for me.

    Did I missed anything or any config I can look into?

    Continue reading...

Compartilhe esta Página