1. Install and configure MySQL version 5.7 on the Windows platform.
2. In the service dialog box, manually start or close the MySQL service.
Open after manual stop:
3. Use the Net command to start or close the MySQL service.
Use the Net command to close and start:
4. Use MySQL Workbench/Navicat and other client tools and command lines to log in to MySQL respectively.
5. Change the storage location of the database to D:\MYSQL\DATA in the my.ini file, restart the service, and then create the database.
① Use Navicat:
② Use the command line:
6. Create a database.
② Use the SQL statement to create the database MyTestDB.
7. View the database properties.
① Check the status of the created JXGL database and MyTestDB database in client tools such as MySQL Workbench/Navicat, and check the folder where the database is located.
② Use the SHOW DATABASES command to display all current databases.
8. Delete the database.
① Use client graphical tools such as MySQL Workbench/Navicat to delete the JXGL database.
② Use the SQL statement to delete the MyTestDB database.
③ Use the SHOW DATABASES command to display all current databases.
MySQL installation, creation and maintenance of database experiments
Guess you like
Origin blog.csdn.net/m0_55726741/article/details/129247749
Ranking