Hi,
when calling a JSP file that has these lines :

className="org.gjt.mm.mysql.Driver"
url="jdbc:mysql://mil2wwds10:3306/employee" />

I got this error :

Error: 500
Location: /project1/authenticate.jsp
Internal Servlet Error:
javax.servlet.ServletException: Can't create DataSource: General error:
Access denied for user: '@mil2wwds10' to database 'employee'

mil2wwds10 is another computer that has mysql database, the above error
happened to me before, the solution was "GRANT", BUT i DON'T REMEMBER HOW TO
GRANT IN Mysql.
thanks




_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to