且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

SOLR DataImport错误“无法执行查询”

更新时间:2023-02-06 22:22:35

我想问题出在 url 参数上。
如果MySQL数据库在同一台机器上,那么使用 url =jdbc:mysql:// localhost / mydb
如果它在www上.mysite.com,然后使用 url =jdbc:mysql://www.mysite.com/mydb

I think the problem is with the url parameter. If the MySQL database is on the same machine, then use url="jdbc:mysql://localhost/mydb" If its on www.mysite.com, then use url="jdbc:mysql://www.mysite.com/mydb"

此外,您的日志文件可能包含有关错误的更多详细信息 - 请浏览日志并在此处发布相应的条目。

Also, your log files may have more details regarding the error - please go through the logs and post the appropriate entries here.