MySQL login password forget, in fact, the solution is very simple, just need to add a line "skip authorization Table" parameter selection in MySQL main configuration file my.cnf!Add the following line in MY.CNF:[[email protected] ~]# vim/etc/my.cnf//
Contos 7 install MySQL 5.71, download the official MySQL Yum RepositoryChoose the right MySQL version from the MySQL website to get it.Then use wget to download:2. Install Yum Repository3. Install MySQL ServerView MySQL ServerInstallation4. Start
Mysqlbinlog Usage NotesThe binary log file generated by the server is written in binary format. To check these text-formatted files, you should use the Mysqlbinlog utility.This should be called Mysqlbinlog:Shell> mysqlbinlog [options] log-files ...
Main configuration Parameters reprinted from: http://www.linuxyw.com/a/shujuku/201506/216.htmland slightly modified the MyISAM section to fit the current environmentThis configuration is used on the old boy's production line on the configuration, at
About MySQL TuningThere are 3 ways to speed up the MySQL server, from low to high efficiency:Replace the problematic hardware. Tuning the settings for the MySQL process. Optimize the query.Replacing the problematic hardware is often our first
MySQL Query cacheYun ZhengjieCopyright Notice: Original works, declined reprint! Otherwise, the legal liability will be investigated.I. What is MySQL query cacheto save the full result returned by the MySQL query statement, when hit, MySQL returns
Whether you are compiling the installation, the binary installation, or the yum,rpm, the MySQL is initialized to be used.Below to introduce the next initialization of the installation of MySQL, before installation to prepare the My.cnf file Oh ~ ~
encountered MySQL exceeded the maximum number of connections, I believe many people first reaction is to check the MySQL process, see if there is no slow query, of course, this practice is completely correct! but most of the time the real problem
Recently there is a server MySQL often crash, in order to further locate the problem, the MySQL core file function is opened, the following steps for reference"Open Step"1. Add 2 configuration options in the My.cnf
IntroductionThis article mainly from the view of the MySQL startup command code to learn more about the MySQL startup process, the content is more conceptual knowledge; Understanding the MySQL startup principle is essential to familiarize with MySQL,
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.Note: This article from "Punk" blog, if you want to reprint this article, please contact the author! and annotated Source:
Start mysqld Service display:[[Email protected] data]# service mysqld startError reason analysis: online view of many netizens ' documents, combined with error log analysis: The original is already exists MySQL process WORKAROUND:
Today, 1 of the company's MySQL restarted, landing to the terminal to see a bit, are common out of the memory problem. This is usually due to the fact that a large amount of memory is being requested by the application to cause the system to run out
Recently, a VPS customer complained that MySQL hangs for no reason, and a customer complained that the VPS often crashed, landing to the terminal to look at, are common out of the memory problem. This is usually due to the fact that a large amount
Use the shell to write a script to monitor the running state of the MySQL process, test if you can connect to MySQL, if not, send an email to the police. As for how to monitor, in fact there are many commands, such as most of the commands in the
Netstat command and awk to view the number of concurrent connections to the Web server and the TCP connection status.
The code is as follows
Copy Code
Netstat-n | awk '/^tcp/{++s[$NF]} end {for (a in S) print A, s[a]}
Long time no use of the database, it is inevitable that the password to forget the database, if the MySQL database password forgot how to do? Here are two simple ways to reset your password!
How to reset a password under Windows system
If you are
Restart the MySQL root password
Methods one, using Mysqladmin
The code is as follows
Copy Code
#./mysqladmin-u root password ' newpassword '#./mysqladmin-u root-h host_name password ' newpassword 'Usually mysqladmin ' s
About MySQL TuningThere are 3 ways to speed up the running of the MySQL server, from low to high efficiency:Replace the problematic hardware.Tuning the MySQL process settings.Optimize the query.
Replacing the problematic hardware is usually our
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.