Hi, 

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

> My dataconfig.xml file looks like the following :
> 
> - <dataConfig>
>  <dataSource driver="com.mysql.jdbc.Driver" 
> url="jdbc:mysql://localhost:8983/home/demo/snp-comm/sampledatabase" /> 
> - <document>
> - <entity name="customers" query="select contactLastName from customers">
>  <field column="contactLastName" name="contactLastName" /> 
>  </entity>
>  </document>
>  </dataConfig>

The error information means that the connection wasn't accepted by the server.  
I would make sure that a) your connection URL is correct as it looks wrong to 
me - i.e. your database name in the URL looks like a path[1] - and b) your 
binding address is correct in your config file (my.cnf) and your associated 
host/DNS entries would let you resolve it. 

Cheers,
Dave

[1] 
http://dev.mysql.com/doc/refman/5.0/en/connector-j-reference-configuration-properties.html

Reply via email to