- Building Web Apps with Spring 5 and Angular
- Ajitesh Shukla
- 392字
- 2021-07-02 19:38:24
Installing/configuring the MySQL server
In this section, we will explain how to download, install, and configure the MySQL database and a related utility, MySQL Workbench. Note that MySQL Workbench is a unified visual tool which can be used by database architects, developers, and DBA for activities such as data modeling, SQL development, comprehensive administration tools for server configuration, user administration, and so on.
Follow the instructions given for installation and configuration of the MySQL server and workbench:
- Click on the Download link under MySQL Community Server (GPL) found as the first entry on the MySQL Community Downloads page. We shall be working with the Windows version of MySQL in the following instructions. However, one should be able to download and install MySQL on Linux using the installers provided on the page https://dev.mysql.com/doc/refman/5.7/en/linux-installation.html.
- Click on the Download button against the entry Windows (x86, 32-bit), MySQL Installer MSI. This would download an .exe file such as mysql-installer-community-5.7.16.0.exe.
- Double-click on the installer to start the installation.
- As you progress ahead after accepting the license terms and condition, you would find the interactive UI such as the one shown in the following screenshot. Choose the appropriate version of the MySQL server and also of MySQL Workbench, and click on Next.

Figure 1.6: Selecting and installing MySQL Server and MySQL Workbench
- Clicking on Execute would install the MySQL server and MySQL Workbench as shown in the following screenshot:

Figure 1.7: MySQL Server and Workbench installation in progress
- Once the installation is complete, the next few steps would require you to configure the MySQL database including setting the root password, adding one or more users, opting to start the MySQL server as a Windows service, and so on. The quickest way is to use the default instructions as much as possible, and finish the installation. Once all is done, you would see a UI such as the following:

Figure 1.8: Completion of MySQL Server and Workbench installation
- Clicking on the Finish button will take you on to the next window, where you could choose to start MySQL Workbench. The following screenshot shows what the MySQL Workbench would look like after you click on the MySQL server instance on the Workbench homepage, enter the root password, and execute the Show databases command:

Figure 1.9: MySQL Workbench
推薦閱讀
- Maven Build Customization
- Go語言高效編程:原理、可觀測性與優(yōu)化
- DevOps Automation Cookbook
- Python 3網(wǎng)絡爬蟲實戰(zhàn)
- Mastering LibGDX Game Development
- 硅谷Python工程師面試指南:數(shù)據(jù)結構、算法與系統(tǒng)設計
- 21天學通C++(第5版)
- Python數(shù)據(jù)可視化之美:專業(yè)圖表繪制指南(全彩)
- Java Web從入門到精通(第2版)
- JavaScript從入門到精通(視頻實戰(zhàn)版)
- Clojure Polymorphism
- H5+移動營銷設計寶典
- 基于JavaScript的WebGIS開發(fā)
- Mastering Machine Learning with scikit-learn
- Scratch編程入門與算法進階(第2版)