1. Create a new database
1. Open phpstorm, select Tool Windows in the view, and then select Database.
2. Select the " " sign, ->data source---->mysql click to open.
#3. When you open it for the first time, you will be prompted that the MySQL driver is not installed. Click to download and it will be installed automatically.
Related recommendations: "PhpStorm Usage Tutorial"
4. Fill in the configuration parameters:
5. After success, click OK in the lower right corner to enter the next page.
2. Commonly used data operations:
(1) Add – Add table,
1. Find the name of the new database, right-click ->new–>table, and a table will be created.
#2. Enter the table name and click " ".
#3. Enter the corresponding information and click "execute".
4. View the newly added information.
5. Creation completed
(2)Delete----Delete table
" "Plus sign represents increase , "-" minus sign code decreases.
The above is the detailed content of How to use phpstorm to make tables. For more information, please follow other related articles on the PHP Chinese website!