MySQL read write separation + sub database and sub table - Mycat

Demand: The user instance SERV is divided into different databases according to the org? ID Agreement: Beijing (ORG UU id = 101), Shanghai (ORG UU id = 102), Shenzhen (ORG UU id = 103), Chongqing (ORG UU id = 104), Sichuan (ORG UU id = 105) Beijing bjdb, Shanghai shdb, Shenzhen szdb and Chongqing cqdb are built on dn10 and dn11 Sichuan scd ...

Posted by DragonHighLord on Sat, 04 Apr 2020 02:55:03 +0200

Zabbix monitoring Server database

Monitoring mysql service on zabbix server 1. Configure mysql In the / etc / zabbix / zabbix ﹣ agent D. D / userparameter ﹣ mysql.conf file, it is specified how zabbix agent obtains various information of MySQL service, and a new ". my.cnf" file is created in the / var/lib/zabbix directory to specify how zabbix age ...

Posted by jesirose on Sat, 04 Apr 2020 02:21:49 +0200

MySQL forget root password solution

Now the mysql database we use is divided into two versions, one is mysql and the other is mariadb. There are some differences between the two versions of the solution, which I will explain below. First step First, we need to turn on my.cnf vim /etc/my.cnf Add skip grant tables under [mysqld], then save and exit ...

Posted by rejoice on Sat, 04 Apr 2020 00:08:14 +0200

mssql auto partition

Details of mysql automatic partition Why auto partition: because there are more than one million pieces of data in a table, and the query speed is very slow, the auto partition function is added to improve the query ability. First, define the steps of partition: New backup table Delete new table partition Swap partition Del ...

Posted by largo on Fri, 03 Apr 2020 19:06:14 +0200

mysql multiple instance mode (1) --- multiple configuration files

For the convenience of not starting from scratch, experiment directly on the existing database system, omit to install the database software (the method is similar), the following is an example of adding an instance essential information: [root@localhost ~]# cat /etc/issue CentOS release 6.5 (Final) mysql> \s ...

Posted by oughost on Fri, 03 Apr 2020 03:15:02 +0200

MySQL common operations (2) user management, common statements, database backup and recovery

1. mysql user management In daily use, it is necessary to limit the permissions of personnel, so it is necessary to manage users. ##Create users and authorize Specify login IP [root@host ~]# mysql -uroot -p Enter password: Welcome to the MySQL monitor. mysql> grant all on *.* to 'user1'@'127.0.0.1' identified by '123456'; #Create user1 us ...

Posted by pucker22 on Wed, 01 Apr 2020 20:18:42 +0200

vue+node+mySql to separate front and back end

Environment building Install node first: http://nodejs.cn/download/ Download and install it directly! The new version does not need to manually configure the environment. After installation, open cmd and input node-v and npm-v to check whether the installation is successful. The second step is to install vue: T ...

Posted by Concat on Wed, 01 Apr 2020 13:05:01 +0200

Technology sharing | MySQL Test

Author: Lei Xia The test team leader of akerson focuses on MySQL related test work. ​ Source: original contribution *Aikesheng is produced by the open source community. The original content cannot be used without authorization. Please contact the editor for reprint and indicate the source. What is Mysql Test? Mysql Test is an integrated al ...

Posted by jawaking00 on Tue, 31 Mar 2020 13:59:32 +0200

MySQL parallel replication records updated from the database do not exist, but exist

Parallel replication records updated from the library do not exist, but exist background The semi synchronous slave database SQL thread with parallel replication enabled reports 1032 errors, while the asynchronous slave database does not report any errors. This happens occasionally Analysis Version mysql 5.7.16 mysql> show variables like '%s ...

Posted by johnkelly on Tue, 31 Mar 2020 08:41:14 +0200

Example of Alibaba cloud IOT platform IoT Studio calling face recognition service

Summary Current IoT The studio service development module provides the calling module of face recognition API in the cloud market, but there is no direct way to call the Alibaba cloud face recognition API. In this paper, the image is uploaded to the oss service from the device side, and then the image URL is passed through the uplink message, a ...

Posted by camarosource on Mon, 30 Mar 2020 16:35:07 +0200