Back to articles
How to Install MySQL and MySQL Workbench in Linux (Simple Explanation)
How-ToSystems

How to Install MySQL and MySQL Workbench in Linux (Simple Explanation)

via Dev.toLAKSHMI G

step 1 First, update your Linux system by running the command sudo apt update . After updating, install the MySQL server using sudo apt install mysql-server . This installs the main database system called MySQL. Once the installation is finished, start the MySQL server using sudo systemctl start mysql . To check whether MySQL is running properly, run sudo systemctl status mysql . If it shows active (running) , it means the MySQL server is working correctly. You can also confirm it by opening the MySQL terminal with sudo mysql . If the terminal shows mysql> , the database server is successfully installed. step 2 Next, install MySQL Workbench, which is a graphical tool used to manage databases easily. Go to your Downloads folder by running cd Downloads , then install the Workbench package using sudo dpkg -i mysql-workbench-community_8.0.46-1ubuntu24.04_amd64.deb . If any dependency errors appear during installation, fix them using sudo apt --fix-broken install . After the installation is

Continue reading on Dev.to

Opens in a new tab

Read Full Article
2 views

Related Articles