Created
December 1, 2019 17:59
-
-
Save badhonhitech/60f7e88ba4b589100dbdb0e59170ce0d to your computer and use it in GitHub Desktop.
MySQL Install Linux
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
# This commands will setup MySQL and create a DB | |
sudo apt update | |
sudo apt install mysql-server | |
sudo mysql_secure_installation | |
sudo mysql -u root -p | |
CREATE DATABASE badhon DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci; | |
GRANT ALL ON badhon.* TO 'buser'@'localhost' IDENTIFIED BY 'B@Dho2019P@'; | |
FLUSH PRIVILEGES; | |
EXIT; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment