We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a964bf commit d66363dCopy full SHA for d66363d
driver_test.go
@@ -22,18 +22,19 @@ func getEnv() bool {
22
if user == "" {
23
user = "root"
24
}
25
+
26
pass := os.Getenv("MYSQL_TEST_PASS")
- if pass == "" {
27
- pass = "root"
28
- }
29
prot := os.Getenv("MYSQL_TEST_PROT")
30
if prot == "" {
31
prot = "tcp"
32
33
addr := os.Getenv("MYSQL_TEST_ADDR")
34
if addr == "" {
35
addr = "localhost:3306"
36
37
38
dbname := os.Getenv("MYSQL_TEST_DBNAME")
39
if dbname == "" {
40
dbname = "gotest"
0 commit comments