-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from macbre/index-digest-dsn
Add index-digest-dsn option
- Loading branch information
Showing
4 changed files
with
61 additions
and
5 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
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,6 @@ | ||
-- create a test user and grant access to our database | ||
-- "mysql_native_password" used to fix "Plugin caching_sha2_password could not be loaded" issue | ||
CREATE USER 'digest'@'%' IDENTIFIED WITH mysql_native_password BY 's3cr3t'; | ||
|
||
GRANT ALL ON index_digest.* TO 'digest'@'%'; | ||
|
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,7 @@ | ||
CREATE TABLE `0001_redundant_indices` ( | ||
`item_id` int(9) NOT NULL AUTO_INCREMENT, | ||
`foo` varbinary(16) NOT NULL DEFAULT '', | ||
PRIMARY KEY (`item_id`), | ||
UNIQUE KEY `idx_foo` (`foo`), | ||
UNIQUE KEY `idx_foo_2` (`foo`) | ||
); |