#Install Python 3
- sudo apt update
- sudo apt install software-properties-common
- sudo add-apt-repository ppa:deadsnakes/ppa
- sudo apt update
- sudo apt install python3.8
- python --version we will Installing MySQL on Ubuntu
- sudo apt update
- sudo apt upgrade
- sudo apt install mysql-server
- mysql --version
#Installing MySQL on Ubuntu: Configure the MySQL Installation
- sudo mysql_secure_installation
- you will chose your level security There are three levels of password validation policy: LOW Length >= 8 MEDIUM Length >= 8, numeric, mixed case, and special characters STRONG Length >= 8, numeric, mixed case, special characters and dictionary file Please enter 0 = LOW, 1 = MEDIUM and 2 = STRONG:2 Please set the password for root here.
- New password: Re-enter new password:
- Estimated strength of the password: 100
5 )Do you wish to continue with the password provided? (Press y|Y for Yes, any other key for No) : Y
6 )sudo mysql 7) CREATE USER 'ayarabih'@'localhost' IDENTIFIED by '*******';