Can't connect to mysql in golang with a user with locahost-only access (other than root)
I created a user 'gou' for all my golang projects. create user 'gou'@'localhost' identified by 'gop'; grant select, insert, update, delete, create, drop, alter on gdb.* to 'gou'@'localhost'; This is the code in go: ... _ "github.com/go-sql-driver/mysql" ... db, err…