Войти
  • 101944Просмотров
  • 3 года назадОпубликованоCode With Arjun

Install MySQL (MySQL Server) on your Ubuntu 22.04 LTS

In this video i have shown how you can download and install MySQL(mysql-server) on your ubuntu operating system specific on Ubuntu LTS or LTS or any newer version of ubuntu operating system. I have also shown how to fix the issue To fix Access denied for user ‘root’@‘localhost’ while opening mysql using mysql -u root -p. Commands Used : ============== sudo apt update sudo apt-get install mysql-server To check the version : mysql - -version To fix Access denied for user ‘root’@‘localhost’ sudo mysql -u root -p show databases; use mysql update user set plugin=‘mysql_native_password’ where user=‘root’; flush privileges; Then finally Type : mysql -u root -p To create database : create database demo; Check all the available databases : show databases; ================================== PayPal : Patreon : ➡️ Subscribe : Stay Connected : ➡️ LinkedIn : ➡️ Github : Join Community : ➡️Discord : Follow me on : ➡️ Medium: ➡️ : #CodeWithArjun #Programming