error code 2013 lost connection to mysql server during query
error code 2013 lost connection to mysql server during query
Read about error code 2013 lost connection to mysql server during query, The latest news, videos, and discussion topics about error code 2013 lost connection to mysql server during query from alibabacloud.com
MySQL Sometimes we import SQL file, file too large, cause error code:2013-lost connection to MySQL server during query such errorsDo the following:[SQL]View PlainCopyPrint?
SHOW GLOBAL VARIABLES like '%timeout ';
SET GLOBAL
The newly installed MySQL database on Linux is slow to connect remotely, but with navicate it can be used for a long time, and the Toad connection prompts MySQL MySQL lost connection to server during query. Using the following scheme through Baidu,
Why: This happens when querying a database in MySQL, or modifying a larger table;Google's:Scenario 1. Add a line under MySQL configuration file [Myslqd] to set skip-name-resolve. The MySQL service needs to be restarted.Scenario 2: Add an IP to host
The first thought was to use
1, into MySQL, create a new user root, the password is root: Format: Grant permissions on the database name. Table name to user @ Login host identified by "User password";
The code is as follows
Copy
One, Can ' t connect to MySQL server on ' localhost ' (10061)?Translator: Can't connect to MySQL on localhost? Analysis: This indicates that the "localhost" computer is present, but the MySQL service is not available on this machine. Need to start
1. download MySql
1. download MySql
Open http://www.mysql.com/downloads/mysql/#downloads download in browser
My downloaded version is Red Hat 5 version of http://www.mysql.com/downloads/mirror.php? Id = 407552
Upload the file to the server, or
18.2.1 MySQL server has gone away errors related to Lost connection to server during query.
The most common cause of the MySQL server has gone away error is that the server times out and closes the connection. By default, if nothing happens, the
Role of the master and slave:
1. It can be used as a backup method.
2. read/write splitting to relieve the pressure on a database
MySQL master-slave backup principle:
Mysql master-slave replication requires at least two Mysql services. Of course,
The role of Master and subordinate:
1. Can be used as a backup method
2. Used to achieve the separation of read and write, ease the pressure of a database
MySQL master-slave backup principle:
MySQL's master-slave replication is at least two
One, Can ' t connect to the MySQL server on ' localhost ' (10061)?
Translation: Can't connect to MySQL on localhost? Analysis: This indicates that the "localhost" computer exists, but does not provide MySQL service on this machine. Need to start
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.