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
after the database design is complete, it is often necessary to keep a desc description of all tables in the database in a wiki or other document, in particular the meaning and purpose of each field. It is not advisable to manually generate the
MySQL Format statement specificationHow do I log into your database?Example!If you are compiling the installation of the flowers, then you have to compile the installation of the directory to go, my is installed into the/usr/local/mysql database: Cd/
In MySQL, if you want to see the definition of a table, you have the following options1. Show CREATE TABLE statement:Show CREATE TABLE table_name;2. DESC TABLE_NAME Statement:CREATE TABLE person ( ID int. NOT NULL auto_increment primary key,
id,mol,ip,port,name,t.desc,maxac,maxi,mini,maxw,status Select from t_sys_thorfd t order by status Desc A simple query statement has been an error in the location of Desc, at first thought it wasORDER BY Status Desc error, check
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
1 How to execute a SQL script file, this script file writes a series of sets of SQL statements, such as Sql.sql placed under D:\MyEclipse 8.6\workspaces\oasystem\webroot\sql.sql"CD D:\MyEclipse 8.6\workspaces\oasystem\webroot\>>sqlplus>>@ Sql.sql;2
Mysql database binary installation and basic entry operations, mysql binary
Mysql Databases have a lot of knowledge. It takes the same effort and time to learn linux. The small Editor also only has some skins to share with you ~1. Install MySQL
(1)
MySQL has a lot of visual management tools, such as "Mysql-workbench" and "sequel-pro-". Now I am writing mysql Terminal command Operation article, is to strengthen my understanding of MySQL, always better than the use of graphical understanding,
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.