thanks DronAn
I did as you said and MySQL works perfectly, the default location for the data was in /var/lib/mysql/
I copied the database files I use in windows into that folder and ran the use command and it found the database.
Now just have to setup aquafold datastudio as the client for importing data and test the calls from java and matlab.
thanks again.