forked from ifsnop/mysqldump-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
don't break compatibility with old no-data trigger and fix tests
- Loading branch information
Showing
6 changed files
with
53 additions
and
36 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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
|
||
mysql -e "CREATE USER 'travis'@'%';" | ||
mysql -e "CREATE DATABASE test001;" | ||
mysql -e "CREATE DATABASE test002;" | ||
mysql -e "CREATE DATABASE test005;" | ||
mysql -e "CREATE DATABASE test006a;" | ||
mysql -e "CREATE DATABASE test006b;" | ||
mysql -e "GRANT ALL PRIVILEGES ON test001.* TO 'travis'@'%' WITH GRANT OPTION;" | ||
mysql -e "GRANT ALL PRIVILEGES ON test002.* TO 'travis'@'%' WITH GRANT OPTION;" | ||
mysql -e "GRANT ALL PRIVILEGES ON test005.* TO 'travis'@'%' WITH GRANT OPTION;" | ||
mysql -e "GRANT ALL PRIVILEGES ON test006a.* TO 'travis'@'%' WITH GRANT OPTION;" | ||
mysql -e "GRANT ALL PRIVILEGES ON test006b.* TO 'travis'@'%' WITH GRANT OPTION;" | ||
mysql -e "GRANT SUPER,LOCK TABLES ON *.* TO 'travis'@'%';" | ||
mysql -e "GRANT SELECT ON mysql.proc to 'travis'@'%';" | ||
mysql -e "FLUSH PRIVILEGES;" |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
mysql -e "DROP DATABASE test001;" | ||
mysql -e "DROP DATABASE test002;" | ||
mysql -e "DROP DATABASE test005;" | ||
mysql -e "DROP DATABASE test006a;" | ||
mysql -e "DROP DATABASE test006b;" | ||
|
||
mysql -e "DROP USER 'travis'"; | ||
|
||
mysql -e "FLUSH PRIVILEGES;" |
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