Old boy MySQL dba tutorial

Video lessons include: MySQL basics, old boy MySQL multi-instance installation and enterprise application scenario, old boy MySQL application management and advanced combat operation, old boy MySQL garbled problem and character set combat, old

MySQL Master master (dual master) data synchronization

1. Two MySQL can read and write, the main preparation, the default is only one (Mastera) responsible for data writing, the other (Masterb) standby;2. Mastera is the main library of Masterb, Masterb is the main library of Mastera, they are mainly

MySQL counts total rows of records when paging and returns a fixed number of records using limit

  The requirements are simple: Suppose there is a user table, there are actually 10,000 data in the table, but I do not know how many, I want to fetch 20 data from the database every time, then how to complete it?Programme one:First perform aSelect

Most detailed explanation of MySQL 5.7 configuration items

Configuration sampleFirst provide a sample of the configuration I used[client] #password=88888888Socket=/data/var/mysql/Mysql.sock [Mysqld_safe] PID-file=/data/var/mysql/mysqld.pid Log-error =/data/local/mysql-5.7. +/log/mysql-error.log [MySQL]

2018-3-23 13 weeks 5 lessons MySQL common operation (second)

13.4 MySQL User management• Create User:grant all on * * to ' user1 ' identified by ' passwd ';or specify the source ip:grant all on * * to ' user1 ' @ ' IP ' identified by ' passwd ';Mysql> Grant All on * * to ' user1 ' identified by ' 123456 ';

"centos6.5" CentOS 6.5 system installation Configuration lamp (APACHE+PHP5+MYSQL) server environment (Linux commune)

Prepare the article:1, configure the firewall, open 80 ports, 3306 portsVi/etc/sysconfig/iptables-A input-m state--state new-m tcp-p TCP--dport 80-j ACCEPT #允许80端口通过防火墙-A input-m state--state new-m tcp-p TCP--dport 3306-j ACCEPT #允许3306端口通过防火墙Note:

MySQL Default character Set issues

Recently, when using MySQL, there was a strange problem with garbled characters, and I started to see that there were some problems with the MySQL character set. Modified configuration file/etc/my.cnf

MySQL Add time column (for record creation time and modified time)

When MySQL builds a table, you need to add two time columns to record the creation and modification time of the current record, respectively. Good. The following is the build table statement:[SQL]View PlainCopy DROP TABLE IF EXISTS ' mytesttable

MySQL Query statement

Basic QueryRemoval of duplicate records >select DISTINCT vend_id from the products;Paging >select * from the products LIMIT 5;>select * from the products LIMIT 0, 5;>select * from the Products LIMIT 5, 5;Sort (Descending) >select * from the products

Python connects to MySQL database using the Pymysql module

Python connect MySQL database pymysql module using Python3 to connect MySQLPymysql is a library used in the python3.x version to connect to the MySQL server, and MySQLdb is used in Python2.You can also use Pymysql to connect to the MySQL database in

MySQL table structure (with data type, field comment comment) exported to Excel

Method One:1. With Navicat Premium, you can switch to any graphical clientSELECTcolumn_name column name, column_type data type, data_type field type, character_maximum_length length, is_nullable is empty, Column_default default value, Column_comment

Mysql-atlas Installation and Use tutorial

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

mysql5.7 MySQL Library The user table below does not have a password field cannot modify the password

Title, the user table below the mysql5.7 MySQL library does not have a password field to modify the password.Version 5.7 is no longer using password as the field of the password and changed to Authentication_stringLogin password cannot be remembered:

Windows 64-bit MySQL 5.7 or later package decompression installation

MySQL official website: https://dev.mysql.com/downloads/mysql/Take version 5.7.21 For exampleFirst install package decompression, there is no online tutorial mentioned in the Data folder and My-default.ini, as shown inConfigure environment variables

MySQL database like fuzzy query in Python

Recent work in the Python language development project, the work encountered a python connection to MySQL like query.Because% has three special symbols in Python, such as%s. %d represents string placeholders and number placeholders, respectively.You

Install MySQL extension in Python3, No module named ' Configparser '

In python2.7, we installed mysqldb or this Mysql-python, can be installed, but in Python3, because its use of the extension Configparser has been renamed to Configparser, so in Python3 You can't press the switch normally.Explanations in

CentOS install Ngnix mysql PHP

Centos7 nginx MySQL php# view version number cat/etc/redhat-release#1. Installation tool Yum Install-y make apr* autoconf cmake automake curl-devel gcc gcc-c++ OpenSSL openssl-devel pcre-devel GD kernel key Utils perl kernel-headers MPFR cpp glibc

MySQL Data manipulation

Data add and delete change to insert data1. 插入完整数据(顺序插入) 语法一: INSERT INTO 表名(字段1,字段2,字段3…字段n) VALUES(值1,值2,值3…值n); 语法二: INSERT INTO 表名 VALUES (值1,值2,值3…值n);2. 指定字段插入数据 语法: INSERT INTO 表名(字段1,字段2,字段3…) VALUES (值1,值2,值3…);3. 插入多条记录

Summary of differences between count (*), count (1), and count (col) in MySQL, mysqlcol

Summary of differences between count (*), count (1), and count (col) in MySQL, mysqlcol Preface The count function is a function used to count records in tables or arrays. count (*) returns the number of rows to be retrieved, whether or not it

Translation: SET clause (submitted to the MariaDB official Manual), clause mariadb

Translation: SET clause (submitted to the MariaDB official Manual), clause mariadb This document is the description of the SET in the mariadb official manual. Original article: https://mariadb.com/kb/en/set/Https://mariadb.com/kb/zh-cn/set/ I

Total Pages: 3233 1 .... 497 498 499 500 501 .... 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.