Home > Database > Mysql Tutorial > Detailed steps for operating MySQL using Visual Studio

Detailed steps for operating MySQL using Visual Studio

黄舟
Release: 2017-08-11 17:07:01
Original
2725 people have browsed it

MySQL is the most popular relational database management system and one of the best RDBMS application software in terms of Web applications. As an open source software, it can greatly reduce the total cost of ownership. Visual Studio is also our commonly used development tool, so how to operate MySQL through Visual Studio? Please see the detailed steps below.

1. Install MySQL, open Visual Studio, click [Server Resource Manager] in [View], as shown in the figure below

Detailed steps for operating MySQL using Visual Studio


2. Find [Data Connection] in the server resource manager, right-click [Data Connection] ] Click [Add Connection] in the pop-up box, as shown below:

Detailed steps for operating MySQL using Visual Studio


##3.Select [MySQL Database] in the pop-up box, and click [Continue], as shown below:

Detailed steps for operating MySQL using Visual Studio


4. Enter the server name (default is localhost) and user in the pop-up box name, password and data set name, etc. Click to test the connection. If no error is reported, the connection is successful. Click [OK]. If an error is reported, check whether there is a problem with your settings.

Detailed steps for operating MySQL using Visual Studio


##5. Add another explanation here, If the port set by your database is '3306' (default), just follow the fourth step. If your database port has been changed, for example, to '3307', then click on the basis of the fourth step. [Advanced], change the [port] inside to the corresponding '3307', as shown below:

Detailed steps for operating MySQL using Visual Studio


## 6. On the basis of steps 4 and 5, click Test Connection. If the connection is successful, the following box will pop up. If the connection is unsuccessful, the following box will pop up. An "error" box, error code, and error description pop up. If you don't understand what it means, you can check the detailed description of the error code in the help document. Go back and check the problem carefully.

Detailed steps for operating MySQL using Visual Studio


##7. If the connection is successful, the The name of the data set just created is displayed in the server explorer, as shown below

Detailed steps for operating MySQL using Visual Studio

The above is the detailed content of Detailed steps for operating MySQL using Visual Studio. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template