Getting started with MYSQL: basic database and table operations bitsCN.com
Step 8: basic database and table operations
Related links:
MYSQL: Basic operations
Http: // database/201212/173868 .html
MYSQL 2: use regular expressions to search
Http: //
MySQL server SQL Mode bitsCN.com
SQL _mode system variables can regulate MySQL SQL Mode
Any client can change the MySQL server's response to itself without affecting other clients.
If you want to set the SQL Mode when MySQL starts, you can add
Mysql creates a user to remotely log on to bitsCN.com
Mysql New user remote login
By default, users created in MYSQL cannot log on remotely.
You can log on to mysql using the root account and run the following command.
Grant all privileges
Explanation of mysqlbinlog binary log basic concepts of bitsCN.com
Definition:The binary log contains all statements that update data or have potentially updated data (for example, no DELETE matching any row.
Purpose:1. The main purpose of the
[Go] exploring mysql index structure principles, performance analysis, and optimization of bitsCN.com
Abstract:
Part 1: Basic KnowledgePart 2: index structure of MYISAM and INNODB1. B-tree B + tree2. MyisAM index structure3. Annode index
Convert string type fields to datetime type bitsCN.com in mysql statements
In a mysql statement, convert a string-type field to a datetime-type field. in mysql, use str_to_date () to convert a string to a date. here, the Start_time and End_time
Detailed description of MySQL database 5.0's my. cnf configuration option bitsCN.com
MySQL database 5.0 my. cnf configuration options overview:
Mysqld program-directory and file
Basedir = path uses the given directory as the root directory
It is easy to install multiple Mysql bitsCN.com on Windows
Q: How do I install multiple Mysql instances on Windows? A: The specific method is as follows: 1. install Mysql for Windows normally, for example, in the d: mysql folder; 2. configure Mysql
Analyzes the similarities and differences between the left and right connections of MySQL and bitsCN.com
Since I started my career, I have found that many technical staff and colleagues have consulted the author or on the Internet about how to write
Mysql date function bitsCN.com does not say anything, first record an SQL
Select uid, rank, money, e, from_unixtime (time/1000) from stats_2012_01_19 where comm = 8888 and e> 40 and from_unixtime (time/1000) between '2017-01-19 00:00:00 'and '2017-01
Mysql lock mechanism bitsCN.com is okay today. let's take a look at the advantages and disadvantages of the three mysql lock mechanisms:
MySQL storage engines use three types of locking mechanisms: Row-level locking, page-level locking, and
MySQL, 4.0 upgraded to 5.1 encountered a problem bitsCN.com database data volume surge, compared with other business-like databases found that the data volume of a table is abnormal, finally identified a bug of repeated data migration...
120301
When Mysql database hibernate saves data, the Mysql primary key must be set to auto-increment; otherwise, an error is returned! (Field Hibernate
The reason for the bitsCN.com problem is very simple. sometimes it may be hard to remember. MARK.
The
View Mysql index page fragments bitsCN.com
Query index page fragments: show table status like 'table name'; // when the value of the Data_free column is greater than 0, fragments are generated (as long as data is deleted, the premise is to create
MySQl 4-3 -- database query 3 -- from Clause bitsCN.com 1. from clause the SELECT clause specifies the query object in the format of FROM table name 1 [, table name 2]… Table name: tbl_name [[AS] table alias] [{USE | ignore | force} index (key_list)]
Mysql real-time monitoring tool mytop usage introduction bitsCN. commysql real-time monitoring tool mytop usage introduction mytop is similar to linux top tool, which can monitor mysql server performance information in real time. Installation method
Install mysqlGUI in MySQL graphical tool MySQLGUITools
BitsCN.com
I installed the MySQL database yesterday. when I went to the data center today, I wanted to access the MySQL database in the dormitory. I started to use the command line to connect to
Set bitsCN.com for multiple timestamps in mysql
The Default value of timestamp is Default CURRENT_TIMESTAMP.
The timestamp is set to automatically update on update CURRENT_TIMESTAMP as the table changes.
HoweverA table can have at most one
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service