Installing MySQL
This part of the lesson is designed to help you install MySQL. For now, I only have a guide to installing on Linux. Stay tuned for a guide on other Operating Systems.
If you need help with Unix, please see my Guide To Unix Only use this if you're using Ubuntu Linux.
Follow these terminal commands and you should have a solid working installation.
Installing packages on Ubuntu
# apt-get update && apt-get upgrade
# apt-get install mysql-server mysql-client
# mysql_secure_installation
...fill in password...
Log in to mysql for the first time
# mysql -u root -p
Enter Password:
-u = user
-p = prompt for password
after logging in, alter the root user to allow standard user ($) login
NOTE: copy the following command into an editor or notepad and change the password to your own
mysql> alter user 'root'@'localhost' identified with mysql_native_password by 'change password here';