MySQL Tuning series _ Log Analysis

Technical preparationHosted under the Ubuntu14.04.2 platform, based on the MYSQL5.5.46 version.Log files record the various types of MySQL database activities, as a daily location problem of the most common analysis means, MySQL database commonly

Sinsing interpretation of MySQL user management

Probably do not pay much attention to the development of this aspect, but to the operation of the maintenance. That's a concern. As we all know, Root has too much authority. It's not easy to use. We usually better use some of the less privileged

Default writing for different versions of the MySQL character set

Originally in the 5.1 version, in order to solve the Chinese garbled problem set the default character set is UTF8, in the My.ini in the [MySQL] and [mysqld] entries are written:INI Code Default-character-set=utf8 In the 5.5 version, [MySQL]

MySQL Database login password management

MySQL Database installation Complete the default administrator's login password is empty, so you can not enter the password to log in directly to the database, which is not secure, the following article briefly describes how to set the Administrator

MySQL Master master replication test

MySQL Dual Master replication configuration test processServer environment:+-------------------+---------------------------------------------------| | server Node 1 | server Node 2 |+-------------------+------------------------+----------------------

Can ' t connect to local MySQL server through socket '/var/lib/mysql/mysql.sock ' (2

ERROR 2002 (HY000): Can ' t connect to local MySQL server through socket '/var/lib/mysql/mysql.sock ' (2)As noted above, the Mysql.sock file is missing.Workaround:Ln-s/tmp/mysql.sock/var/lib/mysql/mysql.sockKThere may be some homecoming error in the/

Issues related to MySQL middleware atlas

Altas Introduction:Atlas is a MySQL protocol-based data mid-tier project developed and maintained by Qihoo, a web platform infrastructure team. It is based on MySQL's official launch of the Mysql-proxy 0.8.2 version, modified a large number of bugs,

CentOS7 mounting Lnmp (linux+nginx+mysql+php)

Because of the need for work, need to learn PHP, originally wanted to install lamp but considering today Nginxserver has good performance and wide application. Here I decided to build webserver under Linux (centos7+nginx+mysql+php).

MySQL table primary key type changed from int to bigint

Requirements: Due to business needs, Tmp_employees's Emp_no primary key field type int has not satisfied the business requirements, you need to change the table primary key field type from int to bigintUse tool:

PHP Share 28: Troubleshoot problems with MySQL running

One: The method of killing MySQL connection:Kill thread_id: Kills the current process, disconnectsKill query thread_id: Only Kill a connection to the current SQL, and keep the connection open.Several ways to kill MySQL connections in bulk:1>

MySQL share one: operational dimensions on MySQL database optimization

Change to: http://lizhenliang.blog.51cto.com/7876557/16574651. database table Design to avoid slow query, inefficient query statements, not properly indexed, database congestion (deadlock), etc.2. Database deploymentProject initial visits are not

MySQL Connection JDBC Query code

Packagecom.simope.test;ImportJava.sql.DriverManager;ImportJava.sql.ResultSet;Importjava.sql.SQLException;Importcom.mysql.jdbc.Connection;Importcom.mysql.jdbc.Statement; Public classConntomysql { Public Static FinalString url =

MySQL cannot execute select query

Scenario: MySQL cannot perform a select command query, and for existing databases, there are other databases such as Nova, Keystone, cinder, and so on, in addition to MySQL and INFORMATION_SCHEMA databases.The following error is reported in the

MySQL view SQL statement execution efficiency

The explain command is the first recommended command to address database performance, and most performance issues can be easily resolved with this command, explain can be used to see how SQL statements are executed, to help select better indexes

MySQL master-slave plus keepalive in production system applications (Zabbix)

Our production platform used Zabbix,zabbix database is MySQL, and the data volume is relatively large, each month produced data files more than 10G, after the "MySQL master and slave data plus keepalive" drill, with the production system to apply

Test Prerequisite Skills Series 1: Script data import via MySQL command

Lao Xu, sharing the test project can actually solve the problem of dry!Share today:How to import MySQL script file data via mysql command line?-----Solve the actual problem:In the process of working , you often need to import MySQL script filesMany

MySQL master-slave data plus keepalive

Then on a "configuration MySQL database master-Slave synchronization Experiment", this paper mainly from the perspective of application, in two MySQL server deployed keepalived service, can do in any one MySQL server failure situation, does not

Mybaits maven Shiro MySQL backend framework source bootstrap

1. Export the imported Excel file2 export Word files3. IO Stream upload Download file4. Mass mailing, can be sent in HTML, plain text format, can be sent to any mailbox (to achieve the bulk delivery of advertising mail)5. Mass or send SMS separately,

SQLite, sqlite3

SQLite, sqlite3What is SQLiteSQLite? It is a lightweight embedded database, which occupies very low resources. In embedded devices, it may only require several hundred KB of memory, which is faster than Mysql and PostgreSQL. What is Database) A

Use SQL statements to back up, restore, and SQL statements to back up databases

Use SQL statements to back up, restore, and SQL statements to back up databases Only one method is used here. Back up the database file to the disk and restore it. /* 2: Use an SQL statement TO back up DATABASE 3: */4: BACKUP DATABASE mydb 5: TO

Total Pages: 3233 1 .... 1168 1169 1170 1171 1172 .... 3233 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.