Do you remember these common Mysql commands?

Preface Recording Common Command Operations of mysql Basic operation Command line login mysql Mysql-u username-p user password Increase creation time and update time for tables ALTER TABLE order_info_tbl ADD COLUMN create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP COMMENT 'Creation time'; ALTER TABLE order_info_tbl ADD COLUMN update_time TIMESTA ...

Posted on Wed, 25 Sep 2019 08:09:44 -0700 by WilliamNz

Technology Sharing | Controlling the Transaction Size of SQL Files Exported by mysqldump

Author: Chen Juncong   background Some people asked whether insert statements from mysqldump could be organized as one insert statement per 10 row s.   Consideration 1: Parameter -- extended-insert Recalling what we learned in the past: I ...

Posted on Mon, 26 Aug 2019 19:46:35 -0700 by vishal99

MySQL Backup and Restore

mysql backup and restore 1.1 Backup Recovery - Description The core of operation and maintenance work can be summarized as two things: The first is to protect the company's data. The second is to enable the website to provide services (user experience) for 7*24 hours. Introduction to 1.1.1 Backup Logical Backup (Text Representation: SQL St ...

Posted on Tue, 14 May 2019 11:04:07 -0700 by rathlon

How to gracefully backup account information

Preface: Recently, we have encountered the problem of instance migration. After data migration, we need to migrate database users and privileges to the past. When doing logical backup, I usually get used to excluding the MySQL system library, so that the backup does not contain database user information. At this time, if you wan ...

Posted on Wed, 24 Apr 2019 16:51:34 -0700 by oddyseys