当前位置: 技术问答>java相关
mysql链接权限问题????
来源: 互联网 发布时间:2015-06-12
本文导语: 两台机器,一台win2000 server,一台winnt server,都装了相同版本,相同配置的mysql3.23用jsp通过jdbc链接win2000的正常,winnt的却拒绝访问 报错如下: Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error -----------------------...
两台机器,一台win2000 server,一台winnt server,都装了相同版本,相同配置的mysql3.23用jsp通过jdbc链接win2000的正常,winnt的却拒绝访问
报错如下:
Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error
--------------------------------------------------------------------------------
type Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: General error: Access denied for user: '@localhost' to database 'jsptest'
两台机器的mysql的用户权限配置,数据库表结构都相同,此外,winnt下通过php,python等链接mysql都正常,请高手指点迷津。
报错如下:
Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error
--------------------------------------------------------------------------------
type Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: General error: Access denied for user: '@localhost' to database 'jsptest'
两台机器的mysql的用户权限配置,数据库表结构都相同,此外,winnt下通过php,python等链接mysql都正常,请高手指点迷津。
|
试着用root能不能联上