java - Cannot log in to the MySQL server after loging in in localhost using Tomcat -
so here deal. can connect mysql credential when run tomcat 7 , web app in localhost:8080 @ first see app can "read" db. when try log in though, after that, can't access phpmyadmin mysql credentials , don't know why. think auto-creating threads/connections??? os:win7
i can guess not closing/releasing connections on java.
check how many concurrent connections have open on mysql:
show processlist;
also maximum mysql allows:
show variables 'max_connections'
if have many concurrent connections, should search not closing or releasing connections in code.
Comments
Post a Comment