Re: C-JDBC authentication failed

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Dec 07 2005 - 07:56:33 EST

  • Next message: Andrus Adamchik: "Re: Moving 3 tier (ObjectContext problem)"

    Can't advise you on c-jdbc driver as I have no experience with it,
    however this doesn't look Cayenne related at all.

    Try a simple test - replace c-jdbc with MySQL Connector/J driver. If
    the problem goes away, the driver is at fault, if not - check MySQL
    user permissions. Setting MySQL permissions can be tricky sometimes.
    You may have the right password, but no permissions to connect from a
    specific host.

    Andrus

    On Dec 7, 2005, at 10:14 AM, Emre Yilmaz wrote:
    > Hello,
    >
    > I want to configure cayenne with c-jdbc driver. I set the cayenne
    > Node jdbc configuration with below paremeters
    >
    > JDBC Driver : org.objectweb.cjdbc.driver.Driver
    >
    > DB Url : jdbc:cjdbc://localhost:3306/hgys
    >
    > User Name : user name defined on mysql server
    >
    > Password : password defined on mysql server
    >
    > but I get an error = Connection Error : Authentication failed. How
    > can I solve this problem?
    >
    > Thanks for help



    This archive was generated by hypermail 2.0.0 : Wed Dec 07 2005 - 07:56:37 EST