IDEA database link

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/sunnyzyq/article/details/102756342

[1] database to add columns to the right

(1.1) look at the right-hand column [database] icon is not there, from what I can see here is no;

(1.2) [FIG Select View] - [Tool Windows] - [Database]

(1.3) As shown, you can see the right-hand column [column] of the Database.

[2] New Database

(2.1) Click the + sign, began to prepare a new link

(2.2) select the corresponding version of the database, such as: Here I chose the Mysql database.

(2.3) and then fill in their database information in the red box, and then click [TEST CONNECTION] test the link, and if the figure below Komagari Ping value appears, the link is successful, then click [OK] to

(2.4) At this panel you can see your information the database

[3] Table View

(3.1) Expand able to see all the tables of the link information

(3.2) just click on a table, you can see the information in the table.

[4] modify the table

(4.1) to select a table, right-click and choose Modify Table ... [] can be modified table structure.

(4.2) will pop up interface table structure, corresponding to the four operation right to add, delete, move up, down field operation.

[5] SQL execution

(5.1) click on the icon shown below

(5.2) Select the [New console]

(5.3) and then you can get a console to enter the SQL execution

(5.4) and then just write a SQL, SQL is in the process of writing also has smart tips, it Nuys

(5.5) After writing SQL, click on the left triangle button, you can execute SQL, and then see the results below

 

OK! Of presentation!

Guess you like

Origin blog.csdn.net/sunnyzyq/article/details/102756342