2
You don’t need all these settings.
Create a JDBC Connection pool in glassfish with the configs below:
datasource-classname: com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource res-type=javax.sql.ConnectionPoolDataSource
Then click on aditional properties and place these properties
> name="User" value="NameUSER"
> name="Password" value="yourpass"
> name="serverName" value="localhost"
> name="databaseName" value="databasename"
This should work !
this admin@locahost is weird. How are the properties of the pool connection? To not expose your information you put fake password and ip (if you have it).
– Flavio Andrade
I added the properties to the question, Flávio
– Victor Hugo
Cool, come on, do you really use all these rs properties? If you do not use and were already like this for something basic you only need the User, Password and URL properties, you can delete all the others. In the URL you place the IP of the database or localhost if applicable
jdbc:mysql://locahost:3306/umariadb
.– Flavio Andrade