Re: Semantic Bank and MySQL

From: David Huynh <dfhuynh_at_csail.mit.edu>
Date: Fri, 17 Feb 2006 08:29:40 -0500

Hi Marc-Alexandre,

It's been a while since I ran Semantic Bank on MySQL, but I think this
is how you can do that:
1. Create a database in MySQL with some name, say "XYZ"
2. Set bankCorpus.modelName to "XYZ".
3. Set bankCorpus.database to something that when appended to
jdbc:mysql:/// will make a valid JDBC URL.

David

Marc-Alexandre Nolin wrote:

>Hello,
>
>I'm a new user of Semantic Bank and I have questions.
>
>I can currently use Semantic Bank without problem with the NativeSesameConnector
>
>bankCorpus.connector=edu.mit.simile.longwell.corpus.NativeSesameConnector
>
>but if I use the MySQL Connector
>
>bankCorpus.connector=edu.mit.simile.longwell.corpus.MySQLConnector
>
>I'm receiving a "Failed to create model for corpus" error and also
>reference about a password error. The error seem to come from longwell.
>
>So my question are:
>1 - Where do I put the login and password for the MySQL database? Is
>it in the semantic-bank.properties file in the bankCorpus.database
>parameter? If so, do I write it like this example:
>
>bankCorpus.database=<user>:<password>_at_<server name>:<port>/<database name>
>
>or another example
>
>bankCorpus.database=testuser:mypassword_at_127.0.0.1:3306/semanticbank
>
>2 - What value is expected in
>
>bankCorpus.modelName=
>
>Do I write sesame, jena, mysql in it?
>
>Thank for all the help you can give me.
>
>Marc-Alexandre Nolin
>
>
Received on Fri Feb 17 2006 - 13:30:31 EST

This archive was generated by hypermail 2.3.0 : Thu Aug 09 2012 - 16:39:18 EDT