The System log appearsATA Truncated for column ' agent ' at row 1The reason for this problem with MySQL is that the character set or the field is too long.MySQL has been unified for utf-8 at initialization time, so this problem can be ignored.String
Reference article: Https://www.digitalocean.com/community/tutorials/how-to-install-mysql-5-6-from-official-yum-repositoriesToday in the company finishing test machine, try to use Yum installed the next MySQL, this thought is very simple to fix
Monitor MySQLSlave_io_running:Slave_sql_running:Status, no mail alarmRecently found an e-mail tool, simple and easy to use sendEmail, installation-free personal feeling very usefulReference: http://blog.chinaunix.net/uid-10697776-id-3185073.htmlVim
Overview:In CentOS 6.4, the installation of MySQL via Yum is version 5.1, older, so you want to install the high version of 5.6.14 via source code.Text: One: Uninstall the old versionUse the following command to check if MySQL Server is installedRpm-
A small project that you do needs to use MySQL to calculate some information.The tables in MySQL are as follows (note: The data in the table is test data, randomly generated)Mysql>Select* fromShake_log;+-----+-------------+--------+------------------
Recently installed in Linux MySQL, according to the information collected online and personal operation process, probably did a collation, in order to conduct a reference review later.1, download mysql-5.1.36.tar.gz, and unzip.TAR-XZVF
One, Root user operation1. Create a regular user[[email protected] ~]# useradd ipdev[[email protected] ~]# echo "Ipdev" |passwd--stdin ipdev >/dev/null2. Create a user running the MySQL service[[email protected] ~]# useradd MySQL3. Verify that the
Multi-table management for SQL statements and SQL statement managementMulti-table management of SQL statements
A database usually has more than one table. Sometimes we need to associate multiple tables, which requires multi-table management
Use Xtrabackup to back up the mysql database
Use Xtrabackup to back up databases
Xtrabackup is an open source backup tool developed by percona, which is different from ibbackup. Ibbackup is a paid backup tool. In terms of its backup performance,
MySQL Incremental backup and recovery instance
A small number of databases can be fully backed up every day, because it does not take much time. However, when the database is very large, it is unlikely that a full backup is performed every day. At
Upgrade mysql in centOs
Preface: A variety of problems occurred when I upgraded the mysql version from 5.1 to 5.7 On centOS today. However, after a step-by-step investigation, the problem is solved. The following is a record of the process, I have
MySQL Master/Slave latency monitoring script (pt-heartbeat)
We can use percona's powerful weapon pt-heartbeat to monitor the master-slave replication latency of MySQL databases. Pt-heartbeat updates a specific table in the master database by using a
Use a timer to call the mysql stored procedure-navicat Client1. Use a cursor to create a stored procedure
SQL creation:
create PROCEDURE daily_max_avg_online()BEGINdeclare max_online int;declare avg_online int;declare time TIMESTAMP;declare cur
Summary of common mysql commands
I. Database-level operations
1. log on to mysql
The common format is mysql-u user_name-p. Press enter and enter the password and press enter again.
2. view all existing databases
Show databases; (Note: The semicolon
In Linux, MySQL forgets the root password 1.11. First confirm that the server is in a secure state, that is, no one can connect to the MySQL database at will.Because during the resetting of the MySQL root Password, the MySQL database is completely
[Mysql] configuration file in mysqlwindows
The environment is win7 mysql5.6
Test whether the configuration file is available (no msyql configuration in windows has been used before)Query the configuration before modification:
mysql> show variables
MySQL ö×éè» ° óè ¡Ö ö öö×éöð ° '~~~~******************************************* too many other users
MySQL ö×éè» ° óè ¡Ö ö öö×éöð ° '~~~~******************************************* too many other users
½ R±í
CREATE TABLE `t` ( `a` int(11) DEFAULT
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