You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Ra...@kp.org on 2003/06/30 22:01:30 UTC

Error reading jdbc-connection-descriptor for MySQL

This is my first stab at getting it working with a MySQL database. 
I am getting the following error:

> as org.apache.ojb.broker.metadata.MetadataException: Could not read 
jdbc-connection-descriptor data, using repository: repository.xml


Here is my repository.xml file:

<!DOCTYPE descriptor-repository SYSTEM "repository.dtd" [
<!ENTITY user SYSTEM "repository_user.xml">
<!ENTITY internal SYSTEM "repository_internal.xml">
]>

<descriptor-repository version="1.0" isolation-level="read-uncommitted">

    <jdbc-connection-descriptor
        platform="mysql"
        jdbc-level="2.0"
        driver="org.mysqldb.jdbcDriver"
        protocol="jdbc"
        subprotocol="mysql"
        dbalias="rdmostest" 
        username=""
        password=""
    />

    &user;
    &internal;

</descriptor-repository>