Skip to content

Commit

Permalink
*: Fix auth fail when use fe80::1%lo0
Browse files Browse the repository at this point in the history
  • Loading branch information
shenli committed Dec 16, 2015
1 parent fc50f33 commit 6422a12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tidb-server/server/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ func runTestAuth(c *C) {
dbt.mustExec(`CREATE USER 'test'@'127.0.0.1' IDENTIFIED BY '123';`)
dbt.mustExec(`CREATE USER 'test'@'localhost' IDENTIFIED BY '123';`)
dbt.mustExec(`CREATE USER 'test'@'::1' IDENTIFIED BY '123';`)
dbt.mustExec(`CREATE USER 'test'@'fe80::1%lo0' IDENTIFIED BY '123';`)
})
newDsn := "test:123@tcp(localhost:4001)/test?strict=true"
runTests(c, newDsn, func(dbt *DBTest) {
Expand Down

0 comments on commit 6422a12

Please sign in to comment.