官术网_书友最值得收藏!

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:

  1. 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
  2. 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.
  3. Double-click on the installer to start the installation. 
  1. 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 
  1. 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
  1. 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
  1. 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 
主站蜘蛛池模板: 太原市| 邳州市| 达孜县| 无锡市| 永寿县| 灯塔市| 江达县| 洛隆县| 曲麻莱县| 余干县| 都安| 哈密市| 广丰县| 屯昌县| 乌苏市| 达拉特旗| 涞源县| 洛隆县| 永城市| 肥东县| 北宁市| 澄迈县| 新平| 长海县| 琼结县| 登封市| 衡南县| 南溪县| 亚东县| 霍山县| 犍为县| 惠安县| 道孚县| 平度市| 靖宇县| 瓦房店市| 安溪县| 杭州市| 沂南县| 内乡县| 清丰县|