|
Tomcat 5.5.9 MySQL 4.1.1(tar) jdbc connector 3.0.16
用的是2.6.11.8内核,MySQL 4.11采用编译安装,Tomcat为 5.5.9 ,JDBC connector 为3.0.16 ,已经在CLASSPATH加了common....的那个jar了,为什么还是会出错啊?
提示错误:
javax.servlet.ServletException: Invalid authorization specification message from server: "Access denied for user 'mysql'@'linux9' (using password: YES)"
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
org.apache.jsp.test.index_jsp._jspService(org.apache.jsp.test.index_jsp:82)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
已经检查过了啊,密码和用户名都没错.
是不是我的JSP脚本有问题啊,我不太懂JSP,哪位能给个成功的index.jsp,谢谢了! |
|