SOLR DataImport Error “Unable to Execute Query”

后端 未结 3 1403
攒了一身酷
攒了一身酷 2021-01-20 19:28

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

3条回答
  •  渐次进展
    2021-01-20 20:11

    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!

提交回复
热议问题