MySQL management tools MySQL Utilities query the size of the space used by MySQL

When we are ready to back up or maintain data, we often consider the size of disk space, and usually need to know how large our data and logs are. Data is vital and the data is the lifeline. Use the Mysqldiskusage tool to view the space used by the

MySQL database cannot be resolved from a remote connection

This error occurs if you want to connect to your MySQL: ERROR 1130:host ' 172.21.200.35 ' isn't allowed to connect to this MySQL server Workaround: 1, Change Table method. Your account may not be allowed to log in remotely, only in localhost.

MySQL does not support the use of limit solutions in subqueries

Today in the processing of a movie site data, need to change part of the content, because this site has too many movies, a piece of processing is very difficult, so want to start from a part of the analysis, and then use to limit. At this time the

Learning notes for Mysql stored procedures

Technical points A stored procedure includes a name, a list of arguments, and a set of SQL statements that can include many SQL statements. The following is the process of defining a stored procedure:CREATE PROCEDURE Proc_name (in parameter integer)

MySQL login and setup password steps in Linux

MySQL login and set password under Linux (this article is based on centos6.4, mysql5.7.3), MySQL installed in the/usr/local/mysql directory: [Root@lnmp ~]#/usr/local/mysql/bin/mysqladmin-uroot password ' admin123 ' #修改mysql密码为admin123[Root@lnmp ~]#/

MySQL to view the user, database examples

View users, databases at the command line: mysql> Use GBK #进入gbk数据库Database changedMysql> Show tables; #查看gbk数据库的所有表Empty Set (0.00 sec) mysql> use Ultrax;Reading table information for completion of table and column namesYou can turn off the

Resolve #2006-mysql server has gone away error

When you use PHP to insert large data into MySQL, you encounter a problem: 2006:mysql server has gone away:: INSERT into Hu Jintao After looking, knowing the reason, is that MySQL's max_allowed_packet value is set too small or not set, this

MySQL master/slave library does not sync 1236 error: Could not find the "I"-log file name in binary ...

Recently, encountered the MySQL master and slave library synchronization problem, mainly because the computer broke a bit of electricity, toss AH.Error from library log: Last_io_error:got fatal error 1236 from master, reading data from binary log: '

MySQL database multi-instance configuration steps detailed

[Root@mysql ~]# yum install vim gcc gcc-c++ wget tree lsof ncurses-devel cmake-y #依赖库[Root@mysql ~]#/usr/sbin/useradd mysql-s/sbin/nologin-m #mysql用户[Root@mysql ~]# cd/byrd/tools/[Root@mysql tools]# wget http://mirrors.sohu.com/mysql/MySQL-5.5/mysql-

MySQL from the library read-only configuration detailed

To prevent users from inserting from the library, use the Read-only parameter: Configuration: [Root@slave-mysql data]# grep read-only/etc/my.cnfread-only Test process: Master Library Licensing All Mysql> Grant all on *.* to ' imbyrd ' @ '

Character encoding settings for MySQL database

Default login after MySQL show variables like '%character% ', appeared MySQL "Show variables like '%character% '; +--------------------------+----------------------------+ | variable_name | Value | +--------------------------+--------------------

Free 5g/20g/php/mysql/ftp/with ad space

Free 5g/20g/php Tutorials/mysql Tutorials/ftp/have ad spaceDescription1, 5gbfree.com free space using Layeredpanel Control Panel, the use of more restrictions.2, 5gbfree.com free space page at the bottom of the mandatory advertising. Cpanel (TM):

Common string Functions in MySQL (1/3)

ASCII (STR)Returns the ASCII code value of the leftmost character of the string str. If Str is an empty string, returns 0. If STR is NULL, returns NULL. MySQL Tutorial > select ASCII (' 2 '); -> 50 Mysql> Select ASCII (2); -> 50 Mysql>

MySQL batch kill locked progress method

MySQL Tutorial > select concat (' Kill ', id, '; ') from information_schema.processlist where user= ' root ';+------------------------+| Concat (' Kill ', id, '; ')+------------------------+| Kill 3101;| Kill 2946;+------------------------+2 rows in

Some methods of dealing with MySQL garbled problems

Some methods for dealing with garbled problems in MySQL tutorial1 Set up PHP tutorials MyAdmin Language:chinese Simplified (zh-utf-8) MySQL Character set: Utf-8 Unicode (UTF8) MySQL Connection proofing: gbk_chinese_ci 2 when creating a

CentOS source code installation MySQL 5.6.12 database tutorial

1: Download: The current mysql version has reached 5.6.12Download Address: http://dev.mysql.com/downloads/mysql/Select "Source Code" and find a (mysql-5.6.12.tar.gz) at the bottom to Download wget.2: necessary software packages The code is as

Modify MySQL database character encoding to UTF-8 to solve Chinese garbled characters

Problem:The database may be garbled due to MySQL encoding.Solution:Modify the MySQL database character encoding to a UTF-8 that contains the characters needed by all countries around the world and is an international code.Specific operations:1. Log

Solutions to excessive Sleep connections in MySQL

Sometimes you run show processlist in mysql, and then you will find that there are many such processes in the database:There are three reasons for sleep:1. Before the client program exits, it does not call mysql_close (). [write program negligence,

Centos 6 system compilation and installation of mysql-5.6.22 steps

[What is mysql]A brief description is a database software.[Download]Download the community version source code on the mysql official website. Download the command:Wget http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.22.tar.gz[Resolve package

Total Pages: 3233 1 .... 1847 1848 1849 1850 1851 .... 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.