How to install mysql in Linux – Ubuntu
In this Linux how to video you will learn how to install MySQL Server on a Linux-based system, specifically Ubuntu. You will see how to install the MySQL package and perform initial security hardening to ensure your server is securely deployed. The method used in this video applies to most major Linux distributions including Debian, Ubuntu, Linux Mint, Red Hat, CentOS, and Fedora among others.
Here is a summary of the commands used in the demonstration:
Install MySQL for Debian-based systems:
sudo apt install mysql-server
Install MySQL for Red Hat, CentOS, Fedora:
sudo apt install mysql-server
To run secure script (IMPORTANT):
sudo mysql_secure_installation
To start MySQL now:
sudo systemctl enable –now mysql.service
To check is MySQL is running:
systemctl status mysql.service
To allow MySQL through firewall:
sudo ufw enable
sudo ufw allow mysql
Subscribe to get the latest videos: https://go.itpro.tv/subscribe
Start your Linux training free! https://go.itpro.tv/start-learning-now
Connect with Don Pezet:
Twitter: https://twitter.com/DonPezet
LinkedIn: https://www.linkedin.com/in/donpezet/
Blog: blog.itpro.tv
Enjoying this show? Get access to more online IT skills and certification training from ITProTV. Home of binge-worthy learning, ITProTV offers teams and individuals 5800+ hours of engaging & effective on-demand video training for the latest technology skills. Watch live or on-demand daily. Start learning free at ITProTV: https://go.itpro.tv/start-learning-now
#InstallMySQLLinux #LinuxInstallMySQL #MySQLInstallUbuntu
ubuntu