Saturday, January 16, 2021

cannot find package "github.com/go-sql-driver/mysql"

Golang Error : cannot find package "github.com/go-sql-driver/mysql" in any of: /home/opc/work/go/src/github.com/go-sql-driver/mysql (from $GOROOT) /home/opc/golang/src/github.com/go-sql-driver/mysql (from $GOPATH) Solution : go get -u github.com/go-sql-driver/mysql

ec2-user@ec2 Permission denied