While hosting a web application ( Java and MySql ), I
faced below exception:
java.sql.SQLException: Server configuration denies
access to data source
This is my connection instruction:
con=
DriverManager.getConnection("jdbc:mysql://localhost:3306/dbname?user=xxxx&passwo\
rd=yyyy"
);
I guess there is problem in MySQl privileges but I
don’t know what is it?