MySQL Workbench Installation for Windows/Mac

Post on 17-Mar-2022

9 views 0 download

Transcript of MySQL Workbench Installation for Windows/Mac

MySQL Workbench Installation for Windows/Mac

Note: The instructions provided are for installing MySQL Workbench on a Windows system.

The steps are very similar for installation on a Mac system. Also, the versions of the different

components may vary but this won’t affect the execution of any task in this module.

I. Downloading the SQL Installer

1. Open your browser and type ‘https://www.mysql.com’ or ‘mysql.com’ in the search

bar. Press enter after doing so.

2. After doing so, you will be directed to the page as shown in the image below. Click on

‘Downloads’ as highlighted.

3. You will view the page as shown in the image given below, after clicking on

‘Downloads’.

4. Scroll down and click on the ‘MySQL Community (GPL) Downloads’ link at the end.

This has been highlighted in the image given below.

5. After doing so, you will be directed to the page as shown in the image below. Click on

‘MySQL Installer for Windows’ as highlighted.

6. After doing so, you will be directed to the page as shown in the image below.

a. Click on the upper ‘Download’ button if you have a stable internet connection

throughout the installation process.

b. Click on the lower ‘Download’ button if you want to download the file but install

the software offline.

7. After doing so, you will be directed to the page as shown in the image below. Click on

‘No thanks, just start my download’ as highlighted.

II. Installing MySQL Workbench

8. Now, a new window will pop up where you will need to select the directory where

your installer file will be downloaded.

9. Run the installer file. You will see the dialog box as shown below. Click on ‘Custom’

as the setup type as highlighted. Then, click on ‘Next’.

10. In the ‘Select Products and Features’ menu, expand the ‘Applications’ section as

highlighted.

11. Now, click on ‘MySQL Workbench’ under ‘Applications’.

12. Select the latest version of MySQL Workbench and click on the green arrow icon

pointing to the right, as shown in the image below.

13. Now, in the ‘Select Products and Features’ menu, expand the ‘MySQL Servers’

section as highlighted.

14. Select the latest version of MySQL Server and click on the green arrow icon pointing

to the right.

15. Click on ‘Next’.

16. In the ‘Check Requirements’ menu, click on ‘Execute’.

17. The status for both products will update to ‘INSTL DONE’ after some time. Click on

‘Next’.

18. In the ‘Installation’ menu, click on ‘Execute’.

19. The status for both products will update to ‘Complete’ after some time. Click on

‘Next’.

20. In the ‘Product Configuration’ menu, click on ‘Next’.

21. In the ‘High Availability’ menu, make sure that the first option, i.e. ‘Standalone

MySQL Server / Classic MySQL Replication’, is selected. Then, click on ‘Next’.

22. In the ‘Type and Networking’ menu, keep the default options and click on ‘Next’.

23. In the ‘Authentication Method’ section, make sure that the second option, i.e. ‘Use

Legacy Authentication Method (Retain MySQL 5.x Compatibility)’, is selected. Then,

click on ‘Next’.

24. In the ‘Accounts and Roles’ section, set a password for your server. Make sure you

DO NOT forget this password as it is very difficult to recover your instance in case

you do. Then, click on ‘Next’.

25. In the ‘Windows Service’ menu, keep the default options and click on ‘Next’.

26. In the ‘Apply Configuration’ menu, click on ‘Execute’.

27. After the configuration is complete, click on ‘Finish’.

28. In the ‘Product Configuration’ menu, the status will update to ‘Configuration

complete.’ Click on ‘Next’.

29. In the ‘Installation Complete’ menu, make sure that the option ‘Start MySQL

Workbench after Setup’ is checked. Then, click on ‘Finish’.

III. Setting up the Server

30. Inside the workbench, click on the ‘Local Instance MySQL80’ connection.

31. In the dialog box that opens, type your password that you used during the

installation. Check the option ‘Save password in vault’. Then, click on ‘OK’.

32. You are all set to use MySQL Workbench for writing queries and progressing through

the module.