#251 was fixed, implementing LastInsertId in go-mysql-server it still returns an error in the driver: https://github.com/dolthub/go-mysql-server/blob/8448267/driver/result.go#L58 Let's add it to the driver so that LastInsertId works.