Have a client wanting to use .jsp
we have tomcat installed and have set this client to use it. now he's trying to connect to the MySQL database using JDBC and is recieving a permission denied error.
anyone have any ideas on whats wrong and better yet, how to fix this??
with error message:
complete erro message recieved:
we have tomcat installed and have set this client to use it. now he's trying to connect to the MySQL database using JDBC and is recieving a permission denied error.
anyone have any ideas on whats wrong and better yet, how to fix this??
Code:
Connection string:
<%@ page import="java.sql.*" %>
Connection connection = null;
Class.forName("org.gjt.mm.mysql.Driver").newInstance();
connection = DriverManager.getConnection(
"jdbc:mysql://localhost/gmandmor_crm?user=gmandmor_mis&password=*******");
Code:
java.sql.SQLException: Invalid authorization
specification message from
server: "Access denied for user 'gmandmor_mis'@'61.247.254.85'
(using password: YES)"
Code:
The Error which i got is:
java.sql.SQLException: Syntax error or access violation message from
server: "Access denied for user 'gmandmor_mis'@'' to
database 'gmandmor_crm'"
Last edited: