Hi Romita,

On 15 Oct 2012, at 11:46, Romita Saha <romita.s...@sg.panasonic.com> wrote:

> Thank you for your prompt reply.  The name of the database am using is 
> sampledatabase.sql and it is located in home/demo/snp-comm folder. Hence I 
> have specified the url as  
> 
> url="jdbc:mysql://localhost:8983/home/demo/snp-comm/sampledatabase.sql" /> 

I suspect this is your problem in that the MySQL JDBC driver is expecting to 
connect to a server where this database is hosted as opposed to the file you 
have specified.

I assume from the name the sampledatabase.sql is just a SQL script, so I 
suggest you load that into a MySQL and then connect to the database on that 
server.

Cheers,
Dave


Reply via email to