Created
April 20, 2016 08:31
-
-
Save RafPe/38758d6489d839f7eb7e0fa2c88af8c8 to your computer and use it in GitHub Desktop.
Create mysql users with SSL
This file contains hidden or 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
| # Creates user which is required to present client side certificate | |
| GRANT ALL PRIVILEGES ON *.* TO 'ssluser'@'%' IDENTIFIED BY 'ssluser' REQUIRE X509; | |
| # Creates user which will use encrypted connection to database | |
| GRANT ALL PRIVILEGES ON *.* TO 'ssluser'@'%' IDENTIFIED BY 'ssluser' REQUIRE SSL; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment