Last active
February 15, 2017 03:16
-
-
Save MnHung/692ba8cc8783a96c03b210a12ec1e9fe to your computer and use it in GitHub Desktop.
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
### install mysql | |
sudo apt-get update | |
sudo apt-get install mysql-server | |
# if you ignore the root's password setting, do | |
# sudo mysql_secure_installation | |
## under mysql 5.7, do extra: | |
# sudo mysql_install_db | |
# note: mysql 5.5 on ubuntu 14, mysql 5.7 on ubuntu 16 | |
## done, then check | |
# with 5.5 | |
service mysql status | |
# with 5.7 | |
systemctl status mysql.service | |
# with both version, you can do extra check by mysqladmin | |
mysqladmin -p -u root version | |
### config mysql (TODO) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment