wycm/zhihu-crawler

连接数据库异常

Closed this issue · 2 comments

java.sql.SQLException: Illegal connection port value 'mysql:'

我修改配置为:
db.enable = true

数据库配置

db.host = jdbc:mysql://localhost:3306/zhihu
db.username = root
db.password = 123456

数据库名

db.name = zhihu

wycm commented

修改成
db.host = localhost

感谢 已star