10.2 MySQL database installation

SQL (Structured query language) statements are all relational databases command statements are common, and JDBC API tool just execute SQL statements, JDBC allows for different platforms, different databases using the same programming interface to execute SQL statements.
For JDBC-based applications, if a standard SQL statements for database operations, the application may switch between all the databases, as long as the program can provide various database driven.
You need to choose to support Chinese encoding set when installing MySQL database. To install the MySQL database on a Windows platform:
1. Log https://dev.mysql.com/downloads/mysql/ site, download the latest version of the MySQL database.

The following two installation package is actually equivalent. A version is installed, a download version.

Note that the official website download speed is very slow, is recommended to use mirror sites, such as the use sohu mirroring: http://mirrors.sohu.com/mysql/MySQL-8.0/Ctrl + F to bring up the search box, enter winx64, the election would be finished - under your favorite version
2, the download is complete to get a mysql-8.0. 18-winx64.msi file, double-click the file to start the installation MySQL database system, install the MySQL database system is not much difference between ordinary Windows software installed.
3, after the start of the installation MySQL, in the dialog box that appears, click "Install MySQL Products" button and see the "license Agreement" screen, accept the agreement, click on the "Next" button.
Note: If you are prompted This application requires Visual Studio 2015 x64 Redistributable , reference this blog https://blog.csdn.net/weixin_44092289/article/details/88045666
4, select "Custom" button, and then click Next;

After completion of the above operation, the following components may be selected and the desired selection MySQL MySQL database, click Next

select the installation path, click Next

. 5, click EXCUTE, after installation, you can see the following dialog.

6, after the installation is complete, click Next to begin configuring the MySQL database. As shown in the figure below dialog box, select "standalone MySQL Server / Classic MySQL Replication " box, click on the next, so you can conduct a more detailed configuration.

7, all the way click Next, know the settings Account and Roles. Allows users to set the MySQL root account password, but also allows you to add more users.

After the setup is complete, click Next, followed by a series of dialog boxes will appear in the configuration, but has little influence these dialog boxes, simply click "Next" button until the MySQL configuration was successful.

MySQL MySQL database and can manage data in the database through the command line client. After the above steps, seen in the windows of the "Start" menu "MySQL 8.0 Command Line Client-Unicode" menu item. Click on the menu item MySQL command-line client window will launch into the window you will be prompted to enter the account password.

Guess you like

Origin www.cnblogs.com/weststar/p/12641315.html