1. to export data, first describe your environment: MacOSX10.8.3, MySQLCommunityServer5.6.10, and MySQLWorkbench5.2.47. I want to migrate the data in the local database to another machine, so I use the importexpor self-contained in Workbench
1.
"Rename" bitsCN.com of the MySQL database
Data exported from the MySQL database is stored in a file with the suffix ". SQL. In fact, this file is a text file, which contains many SQL statements. After all the SQL statements in the text file are
"MySQL" index type normal, unique, fulltext bitsCN.com
Question 1: What are the differences between mysql index types normal, unique, and full text?
Normal: indicates a normal index.
Unique: unique, and duplicate indexes are not allowed. if the
Locate sources with high IO load bitsCN.com
Preface:
In general O & M work, we often encounter such a scenario where the server's IO load is very high (util in iostat ), however, the source process of the I/O load and the source file cannot be
Mysql execution status analysis showprocesslist bitsCN.com
Mysql execution status analysis show processlist
Execution Status Analysis
L Sleep status
N usually indicates that the resource has not been released. if it is through the connection pool,
Mysql SQL statements to view table information bitsCN.com
Mysql SQL statements to view table information
View table field information
Java code
SELECT column_name AS 'column name ',
Data_type AS 'data type ',
Character_maximum_length AS
Install bitsCN.com in mysqlnoinstall
Install mysql noinstall
1. download the mysql-noinstall-5.1.68-win32 version
2. go to the root directory and select a configuration file to change the file name to my. ini.
My-huge.ini (for very big sites,
How to use the MySQL commercial backup tool bitsCN.com
How to use the MySQL commercial backup tool
Users who bought the commercial version can use commercial backup tools to back up the MYSQL database. I will demonstrate how to back up and restore
MySQL initialization procedure bitsCN.com
MySQL initialization steps
When I was using MySQL, I certainly encountered a problem where PHP could not connect to the database. Now, let's take a look at the work to be done, on the premise that you
Mysql queries data of one day, one week, and one month, bitsCN.com.
Mysql queries data from one day to one month
Query for one day:
Java code
Select * from table where to_days (column_time) = to_days (now ());
Select * from table where date (
Mysqlreplication official Chinese document bitsCN.com
Mysql replication official Chinese document
Preparations:
1. ensure that the mysql versions on the Master and Slave hosts are consistent to avoid unnecessary troubles.
2. ensure that the Master/
Mysql data synchronization 1062 Error: Error bitsCN.com
Mysql data synchronization 1062 Error: Error 'Duplicate
If an error occurs during data synchronization, the following message is displayed:
Last_ SQL _Errno: 1062
Last_ SQL _Error:
Using scheduled tasks in linux to regularly back up mysql database bitsCN.com
Using scheduled tasks in linux to regularly back up mysql databases
# Crontab-e
Add a row:
10 05 *** mysqldump-u database user-p password-A/home/back. SQL --
Mysql5.5 garbled solution bitsCN. com1. uninstall mysql5.5 first, and delete all mysql folders including 1, HKEY_LOCAL_MACHINE/SYSTEM/ControlSet001/Services/Eventlog/Application/MySQL directories in the registry.
2. delete the
Transaction isolation level and transaction processing bitsCN.com of InnoDB storage engine in MySQL
Transaction isolation level and transaction processing of InnoDB storage engine in MySQL
1. when the transaction is in progress, the set
Analysis of hang connection problem in mysql bitsCN.com
Analysis of hang connection problems in mysql
[Symptom ]:
1. C multi-threaded connection to the mysql database. every time it is a short connection, the connection will be released after
Mysql data collection shell script bitsCN.com
Shell script for mysql data collection
#! /Bin/sh
INTERVAL = 5
PREFIX = $ INTERVAL-sec-status
RUNFILE =/home/benchmarks/running
Mysql-e 'show global variables '> mysql-variables
While test-e $ RUNFILE;
Do not modify a column of statements in the database bitsCN.com
Do not modify a column of statements in the database
This prevents the name, age, tel, fax, and other fields in the userinfo table from being written and modified.
How to query garbled characters using the MySQL command line client bitsCN.com
How to query garbled characters using the MySQL command line clientToday, when you use the MySQL command line client to query, the query results are garbled in
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