Installing MySQL involves several steps, including downloading the MySQL software, installing it on your system, and configuring it.
Below are general steps for installing MySQL. Note that specific steps may vary depending on your operating system.
Navigate to Official Website to download Mysql Server Installer Click Here
Click on the `Mysql Community Server` link from Left Side Navigation list.
Download the appropriate version of MySQL Community Server, in case if you have installed a higher version of MySQL Server and it wasn't compatible with your MySQL Workbench then you need to download the lower version of MySQL Server for compatibility.
Download Without Sign In or Sign Up as per your need, by clicking `No thanks, just start my download.`
After the Installer download, install it by double-clicking on it.
Go through all the steps widget and create a `Root Password` Through it.
Read and Accept the licence, it will also ask for the destination location for installation and set the `PATH ENVIRONMENT` variable as well so that we can run the MySQL command from the terminal.
After performing the above steps successfully, we need to check the MySQL Server Up and Running.
Navigate -> System Setting/Preference -> Scroll down -> Click on `Mysql` Text in left Navigation.
Now, Click on `Start MySQL Server` If it is not started.
But, before we need to run this Command: -> /usr/local/mysql/bin/mysql -u root -p - followed by our `Root User Password`;
# display list of all databases command show databases; # switch to specific database command use your_database_name;
Create DB and get access to DB by entering the password on the prompt you will get when you click on Mysql one of the Instance Connections listed.