Usage of the DATA_FORMAT function in MySQL bitsCN.com
Usage of the DATA_FORMAT function in MySQL
I. API example
DATE_FORMAT (NOW (), '% B % d % Y % h: % I % p ')
DATE_FORMAT (NOW (), '% m-% d-% Y ')
DATE_FORMAT (NOW (), '% d % B % Y ')
DATE_
MySQL study notes 16: subquery bitsCN.com
A subquery is a nested query statement in another query statement.
Query Results of the inner query statement, which can provide query conditions for the outer query statement
In certain circumstances, the
Back up and restore the mysql database bitsCN.com
Database Backup:
Open cmd and execute the following statement:
Mysqldump-h localhost-u root-proot databasename> d:/databasename. SQL
Database restoration:
Open cmd and execute the following
MySQL study note 20: data backup and restoration bitsCN.com
Data is very important. I want to know this with my toes. to ensure data security, we need to regularly back up data.
Here are some notes about data backup and restoration.
Data backup use
Error cause analysis of MySQLserverhasgoneaway
During the communication with developers and in the forum, you will find that this question is frequently asked.
An error is reported in the program: What does MySQL server has gone away mean? How to
Mysqltimestamp and int storage time bitsCN.com
Mysql timestamp and int storage time
SQL code
Show create table 20130107 date;
Create table '20301_date '(
'Id' int (11) not null AUTO_INCREMENT,
'C _ date' timestamp not null default
6 commonly used MySQL queries bitsCN.com
Six common MySQL queries
It is an art to query architectural art by using structured query languages to develop correct and effective database problems and commands. In a SELECT query, you can use JOIN,
Chapter2. anatomy database system bitsCN.com
Note: The first chapter focuses on some basic concepts of open-source software, so it is sufficient for everyone to be interested in open-source software.
Opening
Have you ever wondered what happened in
MySQL about table_lock_wait and table_lock_immediate bitsCN.com
MySQL about table_lock_wait and table_lock_immediate
Preface
A few days ago, I received a document from my peers, reading notes for MySQL High Performance 2, 97 pages, 6 million words.
Set the five major MySQL parameters bitsCN.com
(1) connectionThe connection usually comes from the Web server. The following lists some connection-related parameters and how to set them.1. max_connectionsThis is the maximum number of connections
Solve the problem of StartingMySQL... TheserverquitwithoutupdatingPIDfile bitsCN.com
Solve The problem of Starting MySQL... The server quit without updating PID file
Console exception:
Starting MySQL... The server quit without updating PID
MySQL running status and optimization (2) bitsCN.com
1. view the configuration information of the MySQL server.
mysql> show variables;
2. View various status values of the MySQL server.
mysql> show global status;
3. slow query
mysql> show variables
Qt4 connects to mysql bitsCN.com
Qt4 connection to mysql
Operating Platform: win7
Compiler: vc
IDE: vs2010
MYSQL: 5.5.
I am afraid I have forgotten it and I will keep it for others' reference.
The dll and lib corresponding to
ERROR1201 (HY000): bitsCN.com
ERROR 1201 (HY000): cocould not initialize master info structure problem
An ERROR 1201 (HY000): cocould not initialize master info structure was encountered during MySQL master-slave replication today.
The reason for
A large number of mysql unauthenticatedusers solve bitsCN.com
Solve a large number of unauthenticated users in mysql
A few days ago, the company's servers were adjusted, and mysql could not connect .... time out was speechless, and I thought about
MySQLInternals-IndexMerge optimized bitsCN.com
MySQL Internals-Index Merge optimizes Louis Hust 0
I made a mistake and thought that Index Merge is a new feature of MySQL5.6. no, I found that there are also 5.5. after reading manual, I found that
How to View mysql connection parameters bitsCN.com
How to View mysql connection parameters
1. view the details of all current connections:
./Mysqladmin-uadmin-p-h10.140.1.1 processlist
2. view only the current number of connections
Mysql trigger newold details bitsCN.com
Mysql trigger new old
Mysql trigger new old:
"NEW. column_name" or "OLD. column_name". Technically, NEW | OLD. column_name and OLD
The column name belongs to the created transition variable
MySQL database enables remote logon of root users to bitsCN. comMySQL database enables remote logon of root users
If mysql does not support remote connection, the following ERROR code is displayed: 1130, ERROR 1130: Host 192.168.0.10 is not
Mysql Question 1: querying wherehaving and using bitsCN.com for statistical functions
Mysql: Query where having and use of statistical functions
Question:
The table is as follows:
Query with only one select statement: The average score (average
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