使用fabri ca配置mysql时,出现以下错误:
Failed to create user registry for MySQL: Failed to connect toMySQL database: dial tcp 127.0.0.1:3306: getsockopt: connection refused
这是配置文件更改:
type: mysql
datasource: root:rootpw@tcp(localhost:3306)/fabric_ca?parseTime=true
tls:
enabled: false
certfiles:
client:
certfile:
keyfile: