Friday 15 June 2012

jdbc - Can't access MySQL from Glassfish pool -



jdbc - Can't access MySQL from Glassfish pool -

i have connection pool created next tutorial. there mysql created xampp, running on port 3036. connection pool attributes are:

user admin password admin url jdbc:mysql://localhost:3036/test2

in my.ini of mysql added

[client] user=admin database=test2 password = admin port = 3036

but when seek ping, grab error:

ping connection pool failed test2. connection not allocated: access denied user 'admin'@'localhost' (using password: yes)

what's wrong settings?

run mssql shell root , seek execute:

grant on test2.* 'admin'@'localhost';

maybe help.

mysql jdbc glassfish xampp

No comments:

Post a Comment