Created
July 20, 2016 07:31
-
-
Save rahulshivsharan/9a6192ad1e178d650855eba213d63ead to your computer and use it in GitHub Desktop.
MySql on Ubuntu
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
Installation | |
$ sudo apt-get install mysql-server | |
$ sudo apt-get install mysql-client | |
to check the status of mysql; whether it has started | |
$sudo netstat -tap | grep mysql | |
to start mysql | |
$ sudo /etc/init.d/mysql restart | |
to connect to mysql from commandline | |
sudo mysql -h localhost -u root -p |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment