That is an easy fix. You have to download the MySql Connect driver and copy the 
jar file into the <JAMES_HOME>/lib path (or add it to your classpath manually, 
but making sure it is in <JAMES_HOME>/lib makes it more easily portable when 
you migrate systems and keeps your files in one place). You can choose to make 
a symbolic link in the <JAMES_HOME>/lib folder to point to the jar, but be 
careful of permissions. You may still hit the same errors I got after you are 
able to connect. Double check the url as 
jdbc://<DB_HOST:PORT>/<DB_NAME>;create=true


Sent from my iPhone

> On Dec 5, 2018, at 4:11 PM, Bill Warner <bill.war...@talentinc.com> wrote:
> 
> I'm in a similar situation, except I want to keep docker and docker-compose, 
> but persist with mysql. I changed james-database.properties, but queries 
> throw a ClassNotFound exception for com.mysql.jdbc.Driver.
> 
> Any guidance would be greatly appreciated.
> 
> Thanks --Bill
> 
>> On 12/5/18 3:27 PM, Garry Hurley wrote:
>> Hey,
>> 
>> Is anyone able to get this application to build or install without using
>> Cassandra or Docker?  If so, how do you get past the MailboxAnnotation JPA
>> failure of trying to create a table with a column named 'KEY' in a real
>> database?
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
> For additional commands, e-mail: server-user-h...@james.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org

Reply via email to