Table of contents
1. Install MySQL
MySQL is an open source relational database management system (RDBMS) that is one of the most popular and widely used databases. MySQL uses Structured Query Language (SQL) to manage and operate databases.
MySQL has many powerful functions, including data storage, data retrieval, data modification, data security, etc. It is suitable for applications and websites of all sizes, from personal blogs to large enterprise-level systems. MySQL can be used to store and manage data.
Through MySQL, you can create databases, tables and indexes, perform queries and filter data, perform data backup and recovery, and perform permission management and other operations. It also supports transaction processing to ensure data consistency and integrity.
2. Install DataGrip
DataGrip is a database integrated development environment (IDE) developed by JetBrains. It provides an intuitive and powerful interface for managing and querying various databases, including MySQL.
DataGrip can help you connect to a MySQL database and provide a graphical interface to browse the database structure, perform queries, edit table data and other operations. It also provides many advanced features, such as code auto-completion, database version control, data import and export, etc., to improve the efficiency of database development and management.
If you use DataGrip, you can easily configure and manage MySQL connections and use its rich functionality for database operations and queries.
3. DataGrip uses MySQL
1. Create a new project
Optional path (default is on C drive)
2. DataGrip connects to MySQL
-
Download driver file
-
Fill in root+password
-
test
- If the following interface appears, fill in root + password.
-
success
3. DataGrip operation MySQL
4. MySQL common commands
1. Login
mysql -u root -p
2. Help
\h
3. Query all databases
SHOW DATABASES;