mysql common commands (3)
Select database
USE database;
Create table
CREATE TABLE [IF NOT EXISTS] table_name (
column_name data_type,
...
);
View table
SHOW TABLES [FROM db_name] [LIKE 'pattern' | WHERE expr];
View table structure
SHOW COLUMNS FROM tbl_name;
insert record
INSERT [INTO] tbl_name [(col_name, ...)] VALUES ...
Posted by iyia12co on Thu, 30 Apr 2020 06:56:27 -0700
SQL ite3 database C language simple operation basic data search (3)
SQL ite3 database C language simple operation basic data search (3)
Overview: the creation, addition, deletion, and modification of sqlite3 database have all been mentioned. Today, it is the search of the database and the application of the core of database comparison. If the previous API is used for execution, because there is a return value ...
Posted by csj16 on Thu, 30 Apr 2020 00:17:15 -0700
Wechat download statement
I've come into contact with some relatively new things recently. Record them
First post the official API address of wechat and feel the charm of wechat...
https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_6
After learning some notes about wechat download bill, we will officially start
The following is the specific implementation ...
Posted by agravayne on Wed, 29 Apr 2020 23:16:20 -0700
PG TO Oracle incremental synchronization - External tables
background
Recently, I was in charge of transferring company data from Oracle to PG; old platform database: Oracle11g; new platform database: PostgreSQL12. Due to the change of platform statistical rules, all the game data being promoted cannot be migrated; it can only run on the old platform. The payment data interface is upgraded, and the da ...
Posted by abch624 on Wed, 29 Apr 2020 10:28:21 -0700
ProxySQL cluster configuration
ProxySQL cluster
Experimental environment informationMySQL master-slave information
IP 1
role
188.188.0.68
Node1
188.188.0.69
Node2
188.188.0.70
Node3
ProxySQL service node
IP 1
role
188.188.0.68
Node 68
188.188.0.71
Node 71
ProxySQL version: 2.0.3-29-g00f26d5
1, ProxySQL service installation
Install the same version of P ...
Posted by rbarnett on Wed, 29 Apr 2020 03:26:43 -0700
Using ProxySQL to realize MGR multi main mode load balancing
MGR multi main mode configuration load balancing
Experimental environment informationMySQL master-slave information
IP
role
188.188.0.68
Node1
188.188.0.69
Node2
188.188.0.70
Node3
ProxySQL version: 2.0.3-29-g00f26d5
>>>Server and user configuration<<<
1. Add backend database server
Admin> SELECT * FROM mysql_s ...
Posted by Ferenc on Wed, 29 Apr 2020 02:42:27 -0700
The solution to the error of PHP connecting MySQL 8.0
After MySQL is upgraded to 8.0, how to solve the problem of PHP connection error?
As a senior MySQL ticket pal, I've been blowing water for 8.0 recently. We know that several MySQL courses have been upgraded to version 8.0 since last year. My VPS has been trying to upgrade for a long time, but the PHP version is too low. I'm worried about ...
Posted by Frank H. Shaw on Wed, 29 Apr 2020 00:54:43 -0700
ProxySQL official file translation
14_ProxySQL_Configuration
Note: during the writing time of the article from April 201904 to may 201905, subsequent official updates in github were not written
~~How to configure proxysql in the simplest way
This simple HOWTO describes how to configure some components of ProxySQL step by step. Note, however, that this is not a complet ...
Posted by sri2002 on Wed, 29 Apr 2020 00:17:06 -0700
Clickhouse support of ProxySQL configuration
13. Clickhouse support for proxysql configuration
Note: during the writing time of the article from April 201904 to may 201905, subsequent official updates in github were not written
~~ClickHouse Support
1, Preface
ProxySQL support for ClickHouse is still in the experimental phase and may change.
1. How to enable support for ...
Posted by swathin2 on Wed, 29 Apr 2020 00:00:06 -0700
Ansible playbook Vault encryption
Ansible playbook Vault encryption details and use cases
Host Planning
Add user account
Explain:
1. Login accounts used by operations and maintenance personnel;
2. All businesses are placed under / app / in the "home directory of yun users" to avoid the disorder of business data;
3. This user is also used by ansible because almo ...
Posted by dopey on Tue, 28 Apr 2020 09:56:43 -0700