You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Marc Chamberlin <ma...@marcchamberlin.com> on 2011/11/06 00:10:22 UTC

Now need help setting up James MySQL database

In James 2.3 I set up the MySQL database properties using the following -

<data-source name="maildb" 
class="org.apache.james.util.dbcp.JdbcDataSource">
<driver>com.mysql.jdbc.Driver</driver>
<dburl>jdbc:mysql://127.0.0.1/mail?autoReconnect=true</dburl>
<user>xxxx</user>
<password>yyyyy</password>
<max>20</max>
</data-source>

In James 3.0 Beta1 I took a guess (no documentation could I find) and 
configured database.properties as follows -

database.driverClassName=org.apache.james.util.dbcp.JdbcDataSource
database.url=jdbc:mysql://127.0.0.1/mail?autoReconnect=true
database.username=xxxx
database.password=yyyyy
vendorAdapter.database=MYSQL
openjpa.streaming=false


Is this correct? I noted that there is no corresponding <driver> and 
<max> parameters, are these still needed?

Thanks for any help/suggestions offered...   Marc..


-- 
"The Truth is out there" - Spooky


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org