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

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 
主站蜘蛛池模板: 河西区| 定西市| 石首市| 武功县| 定陶县| 武清区| 界首市| 万全县| 翁牛特旗| 伊金霍洛旗| 霍邱县| 维西| 汾阳市| 和硕县| 江西省| 喜德县| 罗山县| 拉萨市| 英德市| 富蕴县| 九寨沟县| 浦北县| 潞城市| 红河县| 股票| 襄城县| 阜南县| 钟山县| 神池县| 仲巴县| 通辽市| 古田县| 黄骅市| 靖宇县| 宜都市| 石渠县| 台东市| 营山县| 巴塘县| 桃园市| 佛冈县|