Explorar o código

reinstate DB_CONN_STR

chrisfarms %!s(int64=12) %!d(string=hai) anos
pai
achega
71a9a974e7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      go/src/hello/hello.go

+ 1 - 1
go/src/hello/hello.go

@@ -21,7 +21,7 @@ type World struct {
 }
 
 const (
-	DB_CONN_STR   = "root@tcp(127.0.0.1:3306)/hello_world?charset=utf8"
+	DB_CONN_STR   = "benchmarkdbuser:benchmarkdbpass@tcp(172.16.98.98:3306)/hello_world?charset=utf8"
 	DB_SELECT_SQL = "SELECT id, randomNumber FROM World where id = ?"
 	DB_ROWS       = 10000
 	MAX_CON       = 100