#When developing a website, you often need to use a database to save data. How do we create a database and create a data table? The method is actually very simple. Below, Ozawa will teach you the operation process of how to use Navicat for MySql to create a database.
Recommended tutorial: https://www.php.cn/course/list/51.html
Step 1: Create a database locally. First, start the database running environment. Both Apache and MySQL display green, indicating that the environment is successfully opened. Otherwise, the environment cannot be opened and the database cannot be operated.
Step 2: Open the database management tool Navicat for MySql, which is used to manage the creation, management and other operations of our database, as shown in the following figure:
Step 3: After opening Navicat for MySql, right-click on the left side of the mouse and select New Database
Fourth Step: Enter the page to create a database, name the database myxiaoze; fill in utf8 -- UTF-8 Unicode for the character set; fill in utf8_general_ci for the sorting rule, click OK after filling in:
Step 5: Right-click refresh on the left side, and you will see the database you just created, as shown below:
The above is the detailed content of How to build a library in navicat 8 for mysql. For more information, please follow other related articles on the PHP Chinese website!