There is no compile-time dependency in Apache Mahout on MySQL
Connector/J. If you use the driver classes directly in your project,
you need to add a dependency on those libraries. That's more an issue
for your project. You can and should avoid compiling against those
drivers directly as you usually don't need to. In an enterprise (Java)
app, the container manages the drivers themselves and the calling code
(Mahout) operates in terms of a generic DataSource it looks up from
JNDI. It doesn't need to depend on the driver directly.

2011/2/16 Daniel Mühlbachler <[email protected]>:
> Hello,
>
> has anyone configured a taste-web recommender with a MySQLDataModel? I
> tried to implement a dataSource based on mysql-connector (provided by
> MySQL) but that doesn't work because if I try "mvn compile" errors occur
> with the mysql connector class.
> What I need is just an example of a working recommender based on
> taste-web and a MySQLDataModel. (I am working about 2 weeks to get
> something run as it should!)
>
> Thanks in advance!
> Best regards,
> Daniel Mühlbachler
>
>

Reply via email to