MySQL database server master-slave configuration

A B is two unitsMySQLServer, both binary logs are turned on,DatabaseVersion MySQL 5.5one, server parameters[A Server 192.168.1.100]Server-id = 1BINLOG-DO-DB = Testbinlog-ignore-db = MySQLREPLICATE-DO-DB = Testreplicate-ignore-db = MySQLSync-binlog =

Ubuntu install MySQL

If MySQL was installed before the machine, it is best to uninstall the previous content before reinstalling MySQL, otherwise unforeseen problems may occur./* * * @author Jenkihuang * @email [email protected] * @version 20150402 *//delete existing

MySQL Learning note five: data types

MySQL supports a variety of data types, which can be roughly divided into numeric values, date/time, and character types.Numeric typeMySQL supports all standard SQL numeric data types, including strict numeric data types (INTEGER, SMALLINT, Decimal,

MySQL appears "the Table xxx is full" problem

MySQL Database error log appears "the Table xxx is full", the first reaction is the hard disk space, check that the hard disk has a lot of spaceThe table ' xxx ' is fullLook at the ' xxx ' table, found that the table is a memory table, and the size

MySQL forgot password under Linux

Long time Login vps, then mysql password forgot .... So, Baidu's, record a bit 1. First confirm that the server is in a secure state, that is, no one can connect to the MySQL database arbitrarily. Because the MySQL database is completely out of

MySQL Basic instructions

1. Check the character setSHOW VARIABLES WHERE variable_name like ' character\_set\_% ' OR variable_name like ' collation% ';2. mysql Character set settings• System Variables:–character_set_server: Default internal operation character

Linux shell command-line operation MySQL Delete all tables under MySQL specified database-------------absolutely reliable.

1. View data from a shell prompt under MySQL specified database table2. Delete all the tables under the specified database under MySQL in bulk, Ruiy complete the absolute test---pass the pass for in 'echo' usese;show tables | Mysql-p321 '; Do "

MySQL encoding settings

one: MySQL character setMySQL Character set support (Character set supports) has two types: Character set (Character set) and connection proofing (Collation). Support for character sets is refined to four levels: server, database, data table (table),

MySQL data type

MySQL data type Meaning (Signed) tinyint (m) 1 byte range ( -128~127) smallint (m) 2 byte range ( -32768~32767) Mediumint (M) 3 byte range ( -8388608~8388607) Int (m) 4

Connect between two containers using link (MySQL)

When using Docker we often encounter an application where I need two or more containers, some of which require services from other containers. For example, we need a container to provide the MySQL database service, while the other two containers are

MySQL code problem resolution record under Mac

With the MySQL time, inexplicable wonderful insertion does not enter the Chinese, although know that must be the problem of coding, but it took a long time to solve it, the record here.1. Change the encoding of the MySQL program:MySQL modified the

MySQL Basic Operations Command

One, MySQL service operation 0, view the database version sql-> status;1. net start MySQL//start MySQL service2. net stop MySQL//stop MySQL service3, Mysql-h host address-u user name-P user Password//enter MySQL database4. Quit//quit MySQL operation5

MySQL date and characters convert each other

From:http://www.2cto.com/database/201303/195083.htmlMySQL date and character are converted Date_format (date, '%y-%m-%d ')--------------To_char () in >oracle;   Str_to_date (date, '%y-%m-%d ')--------------to_date () in >oracle; Www.2cto.com%Y:

MySQL InnoDB shared tablespace and independent tablespace

MySQL InnoDB shared tablespace and independent tablespace Shared tablespace All the table data of a database is stored in one file, and the file path of the shared tablespace is under the data directory by default. The default file name is ibdata1

Describes the usage of the & lt ;=& gt; operator in MySQL and the mysql operator.

The usage of the operator in MySQL and the mysql Operator Problem: When I read the code of a previous developer  WHERE p.name NULL In this query statement, what does the symbol mean? Is it the same as the =? Or a syntax error? However, no errors

After installing SQL server, the system prompts that the computer cannot be restarted. How can this problem be solved?

After installing SQL server, the system prompts that the computer cannot be restarted. How can this problem be solved? SQL server is a database management system launched by Microsoft. It is widely used in many platforms such as large

MySQL control (Off, open) automatic submission function, mysql submit

MySQL control (Off, open) automatic submission function, mysql submit When executing commands in MySQL, it is usually determined that the command is submitted directly. That is to say, the user does not need to be aware of this issue, and all

MySQL database to view the data table space and number of records, mysql records

MySQL database to view the data table space and number of records, mysql records If you want to know the space occupied by each table in the MySQL database and the number of rows recorded in the table, you can open the information_schema database of

(5) Common mysql storage engines

(5) Common mysql storage enginesOverview ?? Before mysql5.5, the default storage engine is MyISAM, and after 5.5, it is changed to InnoDB. To modify the default engine, you can modify the default-storage-engine in the configuration file. You can use

SQL: MySql create FUNCTION, VIEW, PROCEDURE, mysqlprocedure

SQL: MySql create FUNCTION, VIEW, PROCEDURE, mysqlprocedure Use geovindu; # function DELIMITER $ drop function if exists f_GetDepartmentName $ CREATE function f_GetDepartmentName (did int) returns nvarchar (400) begindeclare str nvarchar (100 );

Total Pages: 3233 1 .... 1190 1191 1192 1193 1194 .... 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.