You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Alexander Klimetschek <ak...@day.com> on 2009/01/05 16:59:20 UTC

Re: Jackrabbit integration with MySQL

On Wed, Dec 24, 2008 at 6:01 PM, Todd Seiber <to...@gmail.com> wrote:
> Example mysql:
>
> <FileSystem class="org.apache.jackrabbit.core.fs.db.DbFileSystem">
>    <param name="driver" value="com.mysql.jdbc.Driver"/>
>    <param name="url" value="jdbc:mysql://127.0.0.1:3306/myRepository"/>
>    <param name="user" value="myUser"/>
>    <param name="password" value="myPassword"/>
>    <param name="schema" value="mysql"/>
>    <param name="schemaObjectPrefix" value="fs_"/>
> </FileSystem>

Note that the PersistenceManager (which holds the actual jcr
repository data) is the most important part to change, not the
filesystem. Maybe you have seen the recent wiki page
http://wiki.apache.org/jackrabbit/JackRabbitOnTomcat6 which also
explains how to configure Jackrabbit to use Mysql in particular.

Regards,
Alex


-- 
Alexander Klimetschek
alexander.klimetschek@day.com