The storage engine in the database is actually a set of tables that use the engine, and the table in the database sets what storage engine, so the table has different "effects" in terms of how the data is stored, how the data is updated, the
Start: net start mySql;
Enter: mysql-u root-p/mysql-h localhost-u root-p databaseName;
List databases: show databases;
Select Database: use databaseName;
List tables: show tables;
Show columns from tableName;
Create a database: source
[Reproduced from: http://www.chinaz.com/program/2010/0414/111402.shtml]
The database management routine is to carry out preventive maintenance and repair the problematic content.
There are usually four main tasks to check and repair:
1. Optimize the
MySQL experience 9-USER and data security 1. You can use the create user syntax to add one or more users and set the corresponding password. Syntax format: create user user [identified BY [PASSWORD] 'Password'] [, user [identified by [password]
Mysql table optimization, analysis, check, and repair methods, mysql details
This article describes how to optimize, analyze, check, and fix mysql tables. We will share this with you for your reference. The details are as follows:
Here, we will
Mysql performance optimization 2: mysql Performance Optimization
Next, Mysql performance optimization 1Create an appropriate index
To improve database performance, indexing is the best and inexpensive. There is no need to add memory, no need to
Command summary for operating MySQL in Linux Command lines
(Note: commands in the MySQL environment are followed by a semicolon as the command Terminator)
1. commands for starting MySQL in Linux:
Mysqladmin start/Ect/init. d/mysql start (the
This article mainly introduces Mysql database performance optimization 2. if you need it, you can refer to the previous article to introduce mysql database performance optimization 1, today, I will continue my previous article to introduce you to
The stored procedure bitsCN.com optimized for each table in the database in mysql
Mysql optimizes the storage process for each table in the database.
Optimize the storage process for each table in the database
Create procedure 'inventory '.
Personal experience Summary: MySQL database optimization tips collection bitsCN.com
1. what can and should we optimize?
Hardware
Operating System/software library
SQL Server (set and query)
Application programming interface (API)
Applications
II.
This article mainly introduces the mysql delete operation, including the use of delete and TRUNCATE. For more information, see
Delete
Syntax
Single table syntax:
DELETE [LOW_PRIORITY] [QUICK] [IGNORE] FROM tbl_name[WHERE where_definition][Order by..
Optimize the PHP website to run like MySQL. 1. what can and should we optimize?
Hardware
Operating System/software library
SQL Server (set and query)
Application programming interface (API)
Applications
II. optimize hardware
If you
Mysql command Daquan start: net start mySql;
Enter: mysql-u root-p/mysql-h localhost-u root-p databaseName;
List databases: show databases;
Select database: use databaseName;
List tables: show tables;
Show columns from tableName;
Create a database:
This article mainly describes how to implement simple and practical MySQL database optimization, and what specific operation steps are worth your attention. I hope this will help you in your future studies. The following articles mainly describe how
1. what can and should we optimize? Hardware operating system software library SQL Server (setup and query) application programming interface (API) Application 2. optimize hardware if you need a large database table (2 GB ), you should consider
This article mainly introduces the ThinkPHP permission authentication Auth instance. if you need it, you can refer to the following example code to thoroughly analyze the implementation principles and methods of ThinkPHP permission authentication
MySQL management and optimization (6) select the appropriate data types CHAR and VARCHAR
The storage string. the storage and retrieval methods are different. CHAR has a fixed length and VARCHAR has a variable length.
Comparison chart:
In
Descriptions of specific MySQL database optimization methods bitsCN.com the following articles mainly describe the implementation of simple and practical MySQL database optimization methods, including how to regularly analyze and check tables, and
This article mainly introduces mysql table optimization, analysis, check and repair methods, and analyzes MySQL table optimization in detail in the form of instances, various common commands and usage skills for analysis and repair operations. you
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.