Issue the following command after grant command in mysql flush privileges
regards -----Original Message----- From: Sigit Irianto [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 11:53 AM To: [EMAIL PROTECTED] Subject: server configuration denies access to data source dear all, i'm using tomcat 4.1.18 (catalina), with mySQL 3.23.41 as dabatase and mysql-connector-java-3.0.6-stable-bin.jar as jdbc connector on linux redhat 7.2. i always get SQLexception everytime i try to get connected to the database. it says : "server configuration denies access to data source". i used Class.forName("org.gjt.mm.mysql.Driver") and i've try many combination (as parameters), something like : -jdbc:mysql://localhost/dbname?user=xxx&password=qqq -jdbc:mysql://localhost:3306/dbname?user=xxx&password=qqq -jdbc:mysql:///localhost/dbname?user=xxx&password=qqq -jdbc:mysql:3306//dbname?user=xxx&password=qqq on DriverManager.getConnection method, but none of them succeed. i've executed GRANT ALL bla...bla... statement in mysql console to grant user/password i used here and i've added the needed .jar file to the CLASSPATH too. could something tell me where was i miss??? Many2...TIA, -sigit i.- -- Situated in Italy, what is Stromboli? Find out at postmaster.co.uk http://www.postmaster.co.uk/cgi-bin/meme/quiz.pl?id=181 =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com
