In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
1. The prerequisite is that the MySQL database must be installed first (for installing MySQL database under Mac, see the previous article)
two。 Install Navicat
3. Click on the top left corner of navicate: connect-> MySQL- > pre-test link. If you are prompted to connect successfully, you can fill in the connection name and click on the connection.
Double-click the connection you just created and there will be four databases below
Use the naVicate command line to see how many databases there are under the connection: first select connection-> tools above the navigation bar-> command line interface, and a command window-> enter: show databases; (be sure to follow it with a semicolon) will pop up.
Use related databases: use test
Create a new database: create database xxx; or right-click under the connection and select New Database. Note: if you do not have your own character set at the time of creation, the system will default to the character set at the time of installation (utf8). Now the character set is generally utf8.
See how many tables there are under the database: show tables
View the structure of the table: desc table name
Delete a database: drop database database name
Create a new database: create database database name
1. Access to a database: use xxx
2.create table student (id BIGINT, name VARCHAR (20), age INT)
If the keyword of the database is used in creating the table.
For example, create a new order table: (order), but order is the keyword in the database (sorting is used).
Table name: t_order, if the cost uses the word order. At this point, enclose it with anti-prime (`), `order`.
Delete table: drop table student
When creating a table using the tool: set to the next space (tab)
Modify the table: select the table first, and then right-click to select the design table
Summary
The above is a simple tutorial on the use of Navicat For MySQL introduced by the editor. I hope it will be helpful to you. If you have any questions, you are welcome to leave a message. The editor will reply you in time!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.