"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 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 running condition query method bitsCN.com
MySQL running condition query method
SHOW STATUS
Log on to MySQL directly under the command line to run the show status command. the query statement is as follows:
The same statement also has
Incorrectintegervalue: amp; #39; amp; #39; forcolumnamp; #39; idamp; #39; atrow1 bitsCN.com
Recently, when I was writing a query insert statement, I wrote insert into test values ('', $ row [contentid], '". $ tn ."');
When the result is inserted,
Mysqldump
BitsCN.com
Garbled characters for database backup using mysqldump
Recently, in the project, because the system needs to provide the database backup function, after some online searches, I think the simple mysqldump is used.
(1) java code
MySQLTroubleshoting: Waitingonquerycachemutex bitsCN.com
MySQL Troubleshoting: Waiting on query cache mutex
MySQL Query Cache has crashed today, and a large number of online Waiting on query cache mutex
So what is Query Cache?
QC
Database index operation bitsCN.com
Database index operations
I have never used indexes before and have never realized the benefits of indexes. a few days ago, I had to process tables with millions of records. for example, if there were too many
LostconnectiontoMySQLserveratamp; #39; readinginitialcommunicationpacketamp; #39;, bitsCN.com
A problem occurred when I connected mysql with heidsql Today. the prompt is: Lost connection to MySQL server at 'Reading initial communication packet.
Messagefromserver: amp; quot; Host bitsCN. commessage from server: "Host 'XXX' is not allowed to connect to this MySQL server solution: 1. change the table method. It may be that your account is not allowed to log on remotely, but only on localhost.
Common MySQL skills: bitsCN.com
Common MySQL skills regular expression -- whether to start with a select 'abcdefg' REGEXP '^ a' -- whether to end with fg select 'abcdefg' REGEXP 'fg $' -- wow, select STAFF_Name, STAFF_NAME REGEXP '^ Test' from
Six differences between InnoDB and MyISAM bitsCN.com this article mainly sorts out the six common differences between Mysql storage engines MyISAM and InnoDB, which are derived from Mysql manuals and Internet materials.
InnoDBAndMyisamSix
Use mysqlshowprofiles to analyze SQL performance bitsCN.com
Mysql show profiles is added after 5.0.37 to analyze SQL performance. to use this function, make sure that the version is later than 5.0.37. Check my database version mysql> Select version (
MySQL tests bitsCN.com for high-performance servers
MySQL tests the server utilization rate of MySQL 5.5 to multi-core CPUs recorded in the previous article. click here. In fact, the main purpose of the original test was to say today: what will
About the value range of my_bool in mysqlapi bitsCN.com
About the value range of my_bool in mysql api my_bool is defined as A boolean type in the official char document in mysql, for values that are true (non-zero) or false (zero ). 0 indicates
Mysql numeric conversion function bitsCN.com
Mysql numeric type conversion function 1. concat is often used to convert Int to varchar, such as concat (8, '0 ') obtain the string '80' 2. convert varchar to Int and use cast (a as signed) a as a
MySQL cursor syntax instance bitsCN.com
MySQL cursor syntax instance
1. basic syntax:
SQL code
# Define a cursor
Declare fetchSeqCursor cursor for select seqname, value from sys_sequence;
# Use a cursor
Open fetchSeqCursor;
# Fetch data
Fetch
When creating a database in mysql, the system prompts Specifiedkeywastoolongmaxkeylengthis1000bytes problems bitsCN.com.
The Specified key was too long max key length is 1000 bytes error is prompted during mysql database creation.
The index
Mysql uses triggers to synchronize two tables: bitsCN.com
Mysql uses a trigger to synchronize two tables
Currently, the local test is successful.
Assume that two local databases a and B have table1 (id, val) and table2 (id, val) in Table)
How to save space for mysql IP address storage: bitsCN.com
How to save space for IP address storage in mysql
As a developer, when you are using mysql to store your database, you will definitely consider using the most appropriate field type to
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