1. Check which libraries are available
> show databases;
2. View the table of a library
> use db1; show tables;
3. View the fields of the table
> desc tb1;
4. View the statement of table creation
> show create table tb1;
5. Which user is it currently
> select user();
6. View the current library
> select databa ...
Posted on Wed, 01 Apr 2020 09:42:57 -0700 by phil88
1. Database password management: Data password management; database password cracking.
When deleting the original mariadb database, please note that when deleting the service, the data will remain in the / var/lib/mysql / directory, and all files need to be deleted.
a. Data password management
mysqladmin -uroot -plee ...
Posted on Tue, 24 Mar 2020 07:40:30 -0700 by tonga
Accidents involving database deletion are now common, and the need for data backup is an extremely important task in enterprise data management.There are also many scenarios and methods for data backup and recovery, and several of the main tools in this series will be demonstrated through cases.
This series will start with logical backup and re ...
Posted on Sat, 21 Mar 2020 19:44:50 -0700 by cobalt30
Method 1: use mysqldump
--Example:take mysql Of CHL Database migration to MSSQLserver in
--1,Use mysqldump Tool export mysql Of CHL All table structures of the database;
mysqldump -uroot -p --databases CHL --no-data>/chl/CHLtomssql_nodata.sql
--2,Use mysqldump Tool export mysql Of CHL All data in the database. Consider tha ...
Posted on Tue, 31 Dec 2019 05:24:19 -0800 by Chetan
Importance of data backup
In a production environment, data security is critical, and any loss of data can have serious consequences
Causes of data loss
Disasters (such as fires, earthquakes) and theft
Classification of database backups
From a physical and logical perspective, b ...
Posted on Thu, 12 Dec 2019 17:17:41 -0800 by greekuser
Elasticsearch log alarm
elastalert use posture correctly
In May, Github found an open-source software, elastalert, to find an ELK log alert solution online Portal
Look at the latest update for two years ago, so have been in a semi questioning state to look at the software, until further... In depth
Latest news: as of the time of relea ...
Posted on Sun, 08 Dec 2019 20:50:57 -0800 by alex.hughson
Xiaosheng blog: http://xsboke.blog.51cto.com
If in doubt, please Click here The author will reply in time (or comment directly in the current article).
-------Thank you for your reference. If you have any questions, welcome to exchange
Have you ever worried about the backup of online database? Here is a complete backup ...
Posted on Sat, 07 Dec 2019 06:25:10 -0800 by Dilb
Recording Common Command Operations of mysql
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
Author: Chen Juncong
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:
Posted on Mon, 26 Aug 2019 19:46:35 -0700 by vishal99
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