Hello Will,

Why also mess with the filesystem? I put everything into the database. This is 
in my jackrabbit-bundle-mysql-search.xml:
[code]
   <DataStore class="org.apache.jackrabbit.core.data.db.DbDataStore">
      <param name="url" value="jdbc:mysql://localhost:3306/magnolia_author"/>
      <param name="user" value="myuser"/>
      <param name="password" value="mypassword"/>
      <param name="databaseType" value="mysql"/>
      <param name="driver" value="com.mysql.jdbc.Driver"/>
      <param name="minRecordLength" value="1024"/>
      <param name="copyWhenReading" value="true"/>
      <param name="tablePrefix" value=""/>
  </DataStore>
[/code]  

Also you should set max_allowed_packet to an appropriate value in the mysql, 
mysqld, and mysqldump sections of your /etc/mysql/my.cnf file. Otherwise you 
cannot restore the database when you store large object like movies

Cheers,
Roland (freelancer, Munich)

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=2292fa3b-4fbf-4a3d-999f-122037db0f09


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to