google app engine golang, driver: bad connection

I have some code that is working on the local GAE server but once I publish it to GAE it throws the error "driver: bad connection". Below code generates a new *sql.DB: func NewDb() (*sql.DB, erro...