Results 1 to 4 of 4
  1. #1
    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

  2. #2
    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...

  3. #3
    Join Date
    Feb 2001
    Location
    Spain
    Posts
    2

    Smile

    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

  4. #4
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •