-
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test and fix caching_sha2_password (#142)
* ci run tests with DB password * fix caching_sha2_password encrypt * fix ci with mysql:8 unix socket * ci disallow tcp when testing unix socket
- Loading branch information
Showing
7 changed files
with
25 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,11 @@ | ||
#!/bin/sh | ||
|
||
echo "Waiting for MySQL" | ||
for i in `seq 1 10`; | ||
for i in `seq 1 30`; | ||
do | ||
result="$(echo '\q' | mysql -h 127.0.0.1 -uroot -P 3306 2>&1 > /dev/null)" | ||
if [ "$result" = "" ]; then | ||
echo "Success waiting for MySQL" | ||
exit 0 | ||
fi | ||
echo '\q' | mysql -h 127.0.0.1 -uroot --password=root -P 3306 && exit 0 | ||
>&2 echo "MySQL is waking up" | ||
sleep 10 | ||
sleep 1 | ||
done | ||
|
||
echo "Failed waiting for MySQL" && exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ export type { Deferred } from "https://deno.land/[email protected]/async/mod.ts"; | |
export { deferred, delay } from "https://deno.land/[email protected]/async/mod.ts"; | ||
export { format as byteFormat } from "https://deno.land/x/[email protected]/mod.ts"; | ||
export { createHash } from "https://deno.land/[email protected]/hash/mod.ts"; | ||
export { decode as base64Decode } from "https://deno.land/[email protected]/encoding/base64.ts"; | ||
export type { | ||
SupportedAlgorithm, | ||
} from "https://deno.land/[email protected]/hash/mod.ts"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters