Hosted by Dailymotion. For legal issues report at the Copyright Center, report us on DMC, or use the Instant Removal tool.
How To Install MySQL Server & MySQL Workbench on Ubuntu Linux (2025)
Description
How to Install MySQL Server and MySQL Workbench on Ubuntu 24.04 LTS Linux
Learn how to install *MySQL Server* and *MySQL Workbench* on Ubuntu 24.04 LTS Linux in this comprehensive tutorial. This step-by-step guide will walk you through installing the MySQL database server and its graphical user interface (GUI) client for managing your databases efficiently.
---
What is MySQL?
*MySQL* is a widely used open-source relational database management system. It’s ideal for web applications, data analysis, and enterprise solutions. MySQL Workbench complements it with a GUI for database modeling, SQL development, and server administration.
---
Steps to Install MySQL Server
#### 1. *Update System Packages*
Start by updating your package lists:
```bash
sudo apt update && sudo apt upgrade -y
```
#### 2. *Install MySQL Server*
Install the MySQL Server package using the following command:
```bash
sudo apt install mysql-server -y
```
#### 3. *Secure MySQL Installation*
Run the MySQL security script to configure recommended security settings:
```bash
sudo mysql_secure_installation
```
Follow the prompts to set up a root password, remove anonymous users, disallow root login remotely, and remove test databases.
#### 4. *Verify MySQL Installation*
Check if MySQL is running:
```bash
sudo systemctl status mysql
```
Login to MySQL to confirm:
```bash
sudo mysql -u root -p
```
---
Steps to Install MySQL Workbench
#### 1. *Add MySQL APT Repository*
Download and add the MySQL APT repository to ensure you get the latest version of Workbench:
```bash
wget
sudo dpkg -i mysql-apt-config_0.8.25-1_all.deb
sudo apt update
```
#### 2. *Install MySQL Workbench*
Install MySQL Workbench with the following command:
```bash
sudo apt install mysql-workbench -y
```
#### 3. *Launch MySQL Workbench*
You can start MySQL Workbench from the applications menu or by running:
```bash
mysql-workbench
```
---
Testing Your Installation
#### 1. *Connect to MySQL Server*
Open MySQL Workbench.
Click on *+* to create a new connection.
Enter your credentials (e.g., root user and password).
Test the connection and save.
#### 2. *Run SQL Queries*
Use the SQL editor to run queries and manage your databases.
---
Additional Tips
Regularly update MySQL and Workbench for new features and security patches:
```bash
sudo apt update && sudo apt upgrade
```
Use MySQL Workbench for database design, query optimization, and server management.
Monitor your database performance and set up proper backup solutions.
With MySQL Server and Workbench installed on Ubuntu 24.04 LTS, you're all set to build and manage robust databases. Like, share, and subscribe for more Linux tutorials!
Learn how to install *MySQL Server* and *MySQL Workbench* on Ubuntu 24.04 LTS Linux in this comprehensive tutorial. This step-by-step guide will walk you through installing the MySQL database server and its graphical user interface (GUI) client for managing your databases efficiently.
---
What is MySQL?
*MySQL* is a widely used open-source relational database management system. It’s ideal for web applications, data analysis, and enterprise solutions. MySQL Workbench complements it with a GUI for database modeling, SQL development, and server administration.
---
Steps to Install MySQL Server
#### 1. *Update System Packages*
Start by updating your package lists:
```bash
sudo apt update && sudo apt upgrade -y
```
#### 2. *Install MySQL Server*
Install the MySQL Server package using the following command:
```bash
sudo apt install mysql-server -y
```
#### 3. *Secure MySQL Installation*
Run the MySQL security script to configure recommended security settings:
```bash
sudo mysql_secure_installation
```
Follow the prompts to set up a root password, remove anonymous users, disallow root login remotely, and remove test databases.
#### 4. *Verify MySQL Installation*
Check if MySQL is running:
```bash
sudo systemctl status mysql
```
Login to MySQL to confirm:
```bash
sudo mysql -u root -p
```
---
Steps to Install MySQL Workbench
#### 1. *Add MySQL APT Repository*
Download and add the MySQL APT repository to ensure you get the latest version of Workbench:
```bash
wget
sudo dpkg -i mysql-apt-config_0.8.25-1_all.deb
sudo apt update
```
#### 2. *Install MySQL Workbench*
Install MySQL Workbench with the following command:
```bash
sudo apt install mysql-workbench -y
```
#### 3. *Launch MySQL Workbench*
You can start MySQL Workbench from the applications menu or by running:
```bash
mysql-workbench
```
---
Testing Your Installation
#### 1. *Connect to MySQL Server*
Open MySQL Workbench.
Click on *+* to create a new connection.
Enter your credentials (e.g., root user and password).
Test the connection and save.
#### 2. *Run SQL Queries*
Use the SQL editor to run queries and manage your databases.
---
Additional Tips
Regularly update MySQL and Workbench for new features and security patches:
```bash
sudo apt update && sudo apt upgrade
```
Use MySQL Workbench for database design, query optimization, and server management.
Monitor your database performance and set up proper backup solutions.
With MySQL Server and Workbench installed on Ubuntu 24.04 LTS, you're all set to build and manage robust databases. Like, share, and subscribe for more Linux tutorials!
Keywords & Tags
#mysql workbench download
#mysql workbench debian
#ubuntu install mysql
#ubuntu unable to locate package mysql-workbench
#mysql workbench linux mint
#ubuntu remove mysql workbench
#portable mysql workbench
#online mysql workbench
#Ubuntu 22.04
#MySQL
#MySQL Workbench
#Installation
#Database management
#SQL
#Linux
#Open source
#Tutorial
#Step-by-step
#Beginners guide
#How-to
#Technology
#IT
#how to install mysql in ubuntu 22.04 using terminal
#How to instal mysql on ubuntu 22 04 without
#How to instal mysql on ubuntu 22 04 command line
#ubuntu install mysql client
#how to install and configure mysql in ubuntu
#how to install mysql in ubuntu 18.04 using terminal
#ubuntu jammy install mysql
#install mysql old version ubuntu
##mysql
#mysql error
#error
#workbench
#mysql workbench
#mysql install
#ubuntu
#mysql ubuntu
#ubuntu mysql
#ununtu
#sql
#sql workbench
#CodeWithArjun
#ProgrammingWithArjun
#arjuncodes
#codingwitharjun
#arjun
#coded
#codes
#git
#install mysql workbench on ubuntu 22.04 LTS
#install mysql workbench
#install mysql on ubuntu
#how to install mysql on ubuntu
#how to install mysql workbench on ubuntu
#mysql int ubntu
#mysql -u root -p
#code with arjun
#codewitharjun
#codewitharjun mysql
#workbenchmysql
More from User
01:33:29
Asesor Financiero: El Colapso Del Sistema Financiero Ha Comenzado | Javi Linares
online
24:05
Cómo Protegerte Del Colapso Del Sistema Financiero
online
17:34
Pruebo La Nueva Forma De Ganar Dinero Con Telegram
online
01:08:22
La Forma Más Perezosa De Ganar Dinero Online | Fabio Serna
online
28:03
Cómo Invertir Para Principiantes (2026)
online
01:09:46
Cómo Empezar Una Marca De Ropa Desde Cero En 2026
online
Related Videos
04:07
Beginners MYSQL Database Tutorial # Install MySQL Workbench in Ubuntu_Debian Linux
Tutorial.al
00:54
How To Install MySQL Server In Ubuntu Linux
DevTech Solutions
04:49
MySQL Stored Procedures create SQL stored procedures using MySQL Workbench SQL Programming how to
Kadeem York
02:34
MySQL Programming Create Database creating a database using sql using MySQL Workbench how to
Hamp Arvel
13:54
How to Install Ubuntu 22.04 LTS
Nerd on the Street
19:06
Ubuntu Server 22.04 LTS Install - Step by Step Guide - (Beginners Tutorial and Bonus! Web Server) - YouTube
TECH ARIYAN