Results 1 to 4 of 4
-
02-23-2001, 09:12 PM #1New Member
- Join Date
- Feb 2001
- Location
- Spain
- Posts
- 2
I'm trying to connect to mysql with a java servlet. I get the mesage below:
java.sql.SQLException: Invalid authorization specification: Access denied for user: 'user@host' (Using password: YES) at org.gjt.mm.mysql.MysqlIO.init(MysqlIO.java:278)
I don't Know how I could solve this problem.
Thanks
Joan
-
02-24-2001, 12:16 AM #2Web Hosting Master
- Join Date
- Aug 2000
- Posts
- 2,750
Are you using the right login and password for the mysqldbase? and dbhost is usually localhost.
The Php Support Desk
http://www.phpsupportdesk.com
Custom programming - kunal @ e-phoria.com
http://www.pingzine.com - Ping!Zine. the FREE, FRESH and EXCITING Web Hosting Magazine...
-
02-24-2001, 08:30 AM #3New Member
- Join Date
- Feb 2001
- Location
- Spain
- Posts
- 2
Thanks for your answer, I'm using the username and password, and databese name I use to connect via telnet to my mysql database. What I don't know if the port I'm triyin to connect is correcctly configure to accecp my connection. How I could know if is properly configured?.
Thanks
Joan
-
03-06-2001, 02:41 AM #4Web Hosting Master
- Join Date
- Jan 2001
- Posts
- 578
Joan,
I was having exactly the same problem, My servlet engine was mod jserv of apache.
Inspite of the mm.jdbc driver being in proper classpath i had this prob. Then what i did was just put the entire mm.jdbc drv into the servlets folder of the virtual host.
Then it somehow just started.
If i echoed classpath than it was showing the same in classpath even earlier,
Though this is not the right method to do it. But it works for me as of now, i have no logical reason to it though
Rgds
Manish Kapadia
Bombay-India