Last active
August 25, 2023 13:05
-
-
Save gmdias727/3c63262351eb6fd5ce91629c5dde6d68 to your computer and use it in GitHub Desktop.
How to install mysql on ubuntu 22+
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
sudo apt update -y | |
sudo apt install mysql-server | |
systemctl is-active mysql | |
sudo mysql_secure_installation | |
mysql -u root -p | |
ALTER USER 'root'@'localhost' IDENTIFIED BY mysql_native_password by/BY 'NewPasswordHere' | |
mysql -u root -p |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment