Page 1 of 1

Cannot import MySQL database in v7, could in v6

Posted: Sun Jan 29, 2006 12:28 am
by ElectricSheep
Hi all, I hope you can help me.
I have upgraded to version 7 and now I cannot import mysql databases ( I could with version 6 )
I get an error box which states the following :

org.gjt.mm.mysql.Driver

Posted: Mon Jan 30, 2006 4:01 pm
by sorin_ristache
Hello,

What is your version of MySQL ? Did you try with the latest version of MySQL driver from the MySQL website copied in the lib subdirectory of the <oXygen/> installation directory as the <oXygen/> User Manual explains ?

Regards,
Sorin

Posted: Fri Feb 03, 2006 11:06 pm
by ElectricSheep
Thanks for the reply.

The problem was that the new version of Oxygen picked up the reference to the mysql driver from the previous installation ( 6.2 ) which I had uninstalled. I just edited the driver reference to point to the correct location.

All is working now. :)

Posted: Mon Feb 06, 2006 2:12 pm
by sorin_ristache
Hello,

The MySQL driver comes with <oXygen/> and the path to [oXygen-install-folder]/lib/mysql.jar is configured in Options -> Preferences -> Database / JDBC Drivers -> MySQL when <oXygen/> is installed. Each version of <oXygen/> uses the mysql.jar included in that version for importing data from a MySQL database. That means the path to [oXygen-install-folder]/lib/mysql.jar set in Preferences -> Database / JDBC Drivers is not imported from the old version, as for the other <oXygen/> preferences. Did you add a new entry in Options -> Preferences -> Database / JDBC Drivers and used it in database import operations ?

Regards,
Sorin