MySQL常用指令,java,php程序员,数据库工程师必备。程序员小冰常用资料整理MySQL common commands (for reference)The most common display commands are:1. Display the list of databases.show databases;2. Display the data table in the library:Use MySQL;Show tables;3, display the
PHP MySQL database common cmd command setshow databases; Display DatabaseCreate database name; Create a databaseUse DatabaseName; Select DatabaseDrop database name deletes databases directly and does not alertShow tables; Show TableDescribe
How to connect to mysql using cmd
Connection: mysql-h host address-u user name-p user password (note: u and root do not need to add spaces, the same is true for others)Disconnected: exit (press enter)
Create authorization: grant select on database. *
Connection: Mysql-h host address-u user name-P user Password (note: U and root can be used without spaces, others are the same)Disconnect: Exit (Enter)Create authorization: Grant SELECT on database. * To User name @ login host identified by \
Connection: Mysql-h host address-u user name-P user Password (note: U and root can be used without spaces, others are the same)Disconnect: Exit (Enter)Create authorization: Grant SELECT on database. * To User name @ login host identified by \
Connection: Mysql-h host address-u user name-P user Password (note: U and root can be used without spaces, others are the same)Disconnect: Exit (Enter)Create authorization: Grant SELECT on database. * To User name @ login host identified by \
1. Introduction to the Database
Database classification
DDL (data definition Language): Definition Language for database objects: libraries, tables, columns, etc. CREATE, ALTER, DROP
DML (Data manipulation Language):
Common commands for MySQL database operations and Common commands for mysql
Common commands for MySQL database operationsDOS Connection database1. Install MySQL to configure the environment2. Run the cmd command. net start mysql3. Find the root
First, the basic part1. What is a database?Previously learned, data to be permanently saved, such as user registration of user information, are stored in the file, and the file can only exist on a certain machine.If we do not consider the efficiency
From Google for a long time, find a very good MySQL installation process, by the way to share the following, the link is: http://blog.csdn.net/chic_data/article/details/72286329Environment: Windwos (1511) 64bit, MySQL 5.7.14 time: September 5, 2016
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.