manifoldcf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Wright <daddy...@gmail.com>
Subject Re: Running MCF 1.5.1 with MySql
Date Thu, 10 Jul 2014 14:27:28 GMT
Hi Lalit,

For MySQL, the database driver is proprietary.  You need to do the
following:

ant make-deps
cd multiprocess-file-example-proprietary
... everything else as before ...

Karl



On Thu, Jul 10, 2014 at 9:36 AM, lalit jangra <lalit.j.jangra@gmail.com>
wrote:

> Hi,
>
> I am trying to run MCF 1.5.1 with MySQL 5.6. For same, i updated
> /multiprocess-file-example/properties.xml file as below..
>
>   <property name="org.apache.manifoldcf.databaseimplementationclass"
> value="org.apache.manifoldcf.core.database.DBInterfaceMySQL"/>
>
>   <property name="org.apache.manifoldcf.hsqldbdatabaseserver"
> value="localhost"/>
>
>   <property name="org.apache.manifoldcf.dbsuperusername" value="root"/>
>
>   <property name="org.apache.manifoldcf.dbsuperuserpassword"
> value="admin"/>
>
>   <property name="org.apache.manifoldcf.database.maxhandles" value="500"/>
>
>   <property name="org.apache.manifoldcf.crawler.threads" value="500"/>
>
>   <property name="org.apache.manifoldcf.database.name" value="mcfdb"/>
>
>
> Then i initialized it using ./initialize.sh command but i get an error. I
> tried to upgrade to latest mysql driver jar and rebuilt MCF and retired but
> getting same error.
>
>
> [root@10 multiprocess-file-example]# ./initialize.sh
>
> Configuration file successfully read
>
> org.apache.manifoldcf.core.interfaces.ManifoldCFException: Unable to load
> database driver: com.mysql.jdbc.Driver
>
>         at
> org.apache.manifoldcf.core.database.DBInterfaceMySQL.createUserAndDatabase(DBInterfaceMySQL.java:637)
>
>         at
> org.apache.manifoldcf.core.system.ManifoldCF.createSystemDatabase(ManifoldCF.java:788)
>
>         at
> org.apache.manifoldcf.crawler.system.ManifoldCF.createSystemDatabase(ManifoldCF.java:127)
>
>         at
> org.apache.manifoldcf.crawler.InitializeAndRegister.doExecute(InitializeAndRegister.java:37)
>
>         at
> org.apache.manifoldcf.crawler.InitializeAndRegister.main(InitializeAndRegister.java:60)
>
>
> Thanks for help.
>
>
> Lalit.
>

Mime
View raw message