Tuesday, November 24, 2020

Install Mysql 8 on ubuntu linux

MySQL is an open-source relational database management system. Its name is a combination of "My", the name of co-founder Michael Widenius's daughter, and "SQL", the abbreviation for Structured Query Language, and its port no 3306


Step 1 : Download and Install Mysql-server-8 deb package 

sudo wget https://dev.mysql.com/get/mysql-apt-config_0.8.10-1_all.deb

sudo dpkg -i mysql-apt-config_0.8.10-1_all.deb



Step 2 : Update apt repository and update also mysql signature key


sudo apt-get update

sudo apt-key adv --recv-keys --keyserver ha.pool.sks-keyservers.net 5072E1F5

sudo apt-get update


Setp 3 : Install and Configure mysql-server-8

sudo apt-get install mysql-server




Step 4 : Connect the Mysql and check the version

sudo mysql -u root -p



No comments:

Post a Comment

testing