View the default MySQL database code bitsCN.com
View the default encoding of the MySQL database
1. use the status command to display the relational information of the database, for example:
mysql> status;————–mysql Ver 14.12 Distrib 5.0.77, for
[SQL] MySQL uses mysqlbinlog for incremental backup and recovery details bitsCN.com
[SQL] MySQL uses mysqlbinlog for incremental backup and recovery
Incremental Backup process
(1) configure the My. cnf file
(Configure the my. ini file in Windows)
Links between PHP and MYSQL databases: bitsCN.com among the many functions in MYSQL database, there are two functions used to connect, namely, MysQL-connect () and MySQL _ pconnect (). Syntax:
Int MySQL-connect (string [hostname] (: [Port, string
Install MariaDB quickly in linux
BitsCN.com
Install MariaDB quickly in linux
MariaDB is a MySQL branch version using the Maria storage engine. it is a free open-source database server developed by MySQL author Michael Widenius.
This article
Modify the parameter variable bitsCN.com without restarting mysql.
Everyone on earth knows that updating mysql configuration requires restarting mysql to take effect. However, sometimes mysql is online and may not be allowed to be restarted. what
Record a MySQL logical backup and recovery drill bitsCN.com
Record a MySQL logical backup and recovery drill
The process is like this:
Get data from 42.121.189.236 to 192.168.1.119 and then send the data to 192.168.1.110 for recovery.
Then,
Basic Mysql database operations bitsCN.com
(EnterMysql/binDirectory)Note thatMysqlAdd points after each sentence in the console;Elementary
1. enter mysql-u username-p password
2. export database mysqldump-u user name-p password database name (table
Mysqlslap stress testing tool bitsCN.com
Mysqlslap stress testing tool
Mysqlslap is a mysql Testing Tool started with mysql 5.1.4.
[Root @ aeolus1 ~] # Mysqlslap -- help
Mysqlslap Ver 1.0 Distrib 5.5.31, for Linux (x86_64)
Copyright (c) 2005,201
How to implement daily automatic backup of bitsCN.com for mysql databases in linux
How to implement daily automatic mysql database backup in linux
Create a backup folder:
Mkdir mysql_data_bak
Create a script file:
Touch autobackupmysql. sh
Summary of using MySQL on LJMM platform (Linux + Jexus + MySQL + mono) bitsCN.com
Prepare PDF files. NET Framework open-source project "supermarket management system" is transplanted to Linux to run (demonstration address: http: // 221.123.142.196),
MySQL case sensitivity settings bitsCN.com
MySQL case sensitivity settings
In MySQL, database and table pairs are stored in directories and files under those directories. Therefore, the sensitivity of the operating system determines the case
Summary of MYSQL service dismounting bitsCN.com
System Environment Information
1 CentOS release 6.3 (Final)
2 VMware®Workstation 9.0.0 build-812388
MYSQL removal
1. View Historical Installation Information
# Rpm-qa | grep-I mysql
MySQL-master-slave replication bitsCN.com
MySQL replication is often used in the following environments:
1. avoid disaster through hot backup
2. generate reports
Using the slave server to generate reports can greatly reduce the load on the master
MySQL statistical function record-numeric function bitsCN.com
MySQL statistical function record-numeric function
Common arithmetic operators can be used. Note that for-, +, and *, if both parameters are positive numbers, the accuracy of the
Improvement of MySQL in reading abnormal error buffer (MySQL5.6) bitsCN.com
MySQL's increase in reading the exceptional error buffer (MySQL 5.6) first explains what is an error buffer? In MySQL, the error buffer only records the last error. if a new
If the record does not exist, insert it. if the record exists, update the method bitsCN.com.
MySQL inserts a record when the record does not exist. when the record exists, there are three solutions to update the online. Example 1: INSERT multiple
Analysis on the reason why Mysql server cannot be started
The Mysql server cannot be started. the error log prompts:
^ G/usr/local/mysql/bin/mysqld: File '. /mysql-bin.000013 'not found (Errcode: 13) 120415 8:59:10 [ERROR] Failed to open log (file
Mysql non-row-level table processing row-level lock bitsCN.com
We can usually use code to deal with row-level locking requirements. In some cases, InnoDB tables support row-level locking. Pass
In the MyISAM table, you can use a flag column in
Key points of Mysql optimization when there is a large amount of data: bitsCN.com
1. optimize the query, avoid full table scanning as much as possible, and first consider creating an index on the columns involved in where and order.
2. try to avoid
In order to establish a database with lower redundancy and reasonable structure, certain rules must be followed when designing the database. In relational databases, such a rule is called a paradigm. The paradigm is a summary that meets a certain
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