go语言中mysql操作出错

beyondforever68 ·
我也遇到类似问题,open mysql成功了,prepare就失败了,open成功的dsn是:easynet:easynet@tcp(172.21.22.68:3306)/easynet prepare失败返回:panic: Error 1045: Access denied for user 'easynet'@'172.21.40.32' (using passwo rd: YES),修改了我的IP。
#1