jsp - Win 7 - Tomcat unable connect to MySQL -


i moved our code (web programming) win 7 win xp. thing same, old system (it works few years) win xp / tomcat 5.5 / mysql 5.0 / mysql adminstrator & query brower / jdbc 5.0

new system win 7 / tomcat 5.5 / mysql 5.5 / workbench ce 5.2 / jdbc 5.0

using workbench create user without password same old one, got below error, access denied user 'jytsd'@'localhost' (using password: no)

i has checked many times user info, found nothing. tell me what's wrong here?

yes, don't connect way. use type iv jdbc connector mysql. put in tomcat 7 /lib directory , configure data source , jndi lookup this:

http://tomcat.apache.org/tomcat-7.0-doc/jndi-datasource-examples-howto.html


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -