How to install mysql in Linux - Ubuntu

preview_player
Показать описание
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:

To check is MySQL is running:

To allow MySQL through firewall:
sudo ufw enable
sudo ufw allow mysql

Connect with Don Pezet:

#InstallMySQLLinux #LinuxInstallMySQL #MySQLInstallUbuntu
Рекомендации по теме
Комментарии
Автор

After setting password I got this error: SET PASSWORD has no significance for user 'root'@'localhost' as the authentication method used doesn't store authentication data in the MySQL server. Please consider using ALTER USER instead of you want to change authentication parameters.

badsanta
Автор

No fancy ear paining background music, just straight to the point. thanks

ThebongCoder
Автор

Dear Don, Excellent illustration on mysql installation. appreciate your time teaching everyone here. the installation process was super easy. my gratitude to you.

mathewkargarzadeh
Автор

excelent video! the only thing that i needed to do was enabling the firewall before allowing mysql

danilomatrangolomarano
Автор

I'm not sure "debian" takes the stress on the

gdevelek
Автор

Hey I have a problem while running mysql_server_installation
It says
That the password I entered has no significance to root @localhost
And it said consider altering the parameters
Can you tell me how to do that

contrivix_quest_kwt
Автор

can you make a video on completely removing the mysql from ubuntu

pasanggurung
Автор

Hi! Just wanted to say although it's not related to this video in particular, I just passed my Comptia ITF exam all thanks to you guys! Mostly Don haha. I watched your guys' youtube videos and Don Pezet was also on Comptia learn which is another resource I used. Just thought I would say thank you!! And Comptia A+? Im coming for you 😈

illchangemyusernamewhenith
Автор

Very well explained.
Clear and concise.👌👍👏🤝
Thank you and very grateful to you.

subhashgn
Автор

Highly recommended and great video, thanks.

ristoshikongo
Автор

Thank you so much for the great, I just tried to install the newest verion, then the repo version would install, I fluked it cheers!

bluesdog
Автор

nice video Mr don; question how to install vmware or virtual box in our Ubuntu vm as "nested virtualization " tanks

mohamadferdowssharifi
Автор

I get

sudo ufw status
Status: inactive
is there something wrong if the ufw is inactive?

abimaeldominguez
Автор

fantastic video! very well explained. thanks!!

monicawughanga
Автор

Nice video!
Just question where can I find the service name for the (PDB)?
I’m just trying to creat a database connection (using sql developer)and they ask me in the service name field to enter the service name for the pluggable database...

thbst
Автор

Very useful videos on this channel.. I am so glad :) Very Thanks for....

insightful_code
Автор

i got this
E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages in kali

ProfessionalBrokeMemer
Автор

how to install in mx linux 19.4. please help me

gaurabgogoi
Автор

Great Video my problem is not mysql server, but mysql workbench on Linux mint 20.1, keeps giving me an error saying it does not support this operating system even though mint is ubuntu based.

dmark
Автор

it says :-status :inactive, after running sudo ufw status, what to do?anyone?

vaibhaVSharma-xhru