I have a website running on an Amazon EC2 Instance, and I\'m trying to get Solr to interface and work with the database I\'m using. I\'m able to use the admin interface and
I faced a similar problem. My database is on the same machine. In data-config.xml, I changed the line:
url="jdbc:mysql://localhost/mydb"
to
url="jdbc:mysql://127.0.0.1/mydb"
and then things worked. Strange are the ways of Solr/Lucene!