mysql database learning notes (summary)
mysql database learning collation
Log in to the database
Mysql-u username-p password
Look at the database and note that it ends with a semicolonshow databases;
# Display all databases (# is the symbol for mysql annotations)
_____________________ ...
Posted by mikster on Wed, 14 Aug 2019 10:59:39 +0200
Membership Card Management System
Membership Card Management System
Membership Card Management System mysql Database Creation Statement
Member card management system oracle database creation statement
Membership card management system SQL Server database creation statement
Membership card management system mysql database v ...
Posted by parboy on Tue, 13 Aug 2019 12:04:29 +0200
[Spring cloud step-by-step advertising system] 15. Listen for Binlog incremental index preparation
Introduction to MySQL Binlog
What is binlog?
A binary log that records SQL statements that make or potentially change to data and is saved on disk as a result.
What is the role of binlog?
There are three main uses:
Data replication (master-slave synchronization)
Mysql's Master-Slave protocol enables Slave to achieve data consistency ...
Posted by mhewall on Fri, 09 Aug 2019 20:10:36 +0200
MySQL 5.7 Database Application Management Practice
1. Modify the prompt of mysql database
1.1 Temporarily modify the mysql login prompt, which expires after the session ends
mysql> prompt \u@\h [\d] \r:\m:\s->
PROMPT set to '\u@\h [\d] \r:\m:\s->'
root@localhost [(none)] 09:18:10->\q
1.2 Permanent modification of mysql login prompt
In my.cnf configuration file, [mysql] module add ...
Posted by thecard on Thu, 08 Aug 2019 11:14:51 +0200
Deploy SubText on GoDaddy
Original Link: http://www.cnblogs.com/jinweijie/archive/2009/09/11/deploy_subtext_on_godaddy.html
Introduction: I used a virtual host called Maritime Interconnection The company provides, there are several problems in half a yea ...
Posted by arkleyjoe on Thu, 08 Aug 2019 08:11:38 +0200
Bilog and relay log cleaning in MySQL
1. Bilog cleaning of MySQL server
1.1 Using MySQL parameter control
expire_logs_days
Setting the expiration date of binary log, the log after the specified number of days will be deleted automatically and can be modified dynamically.
If a non-zero value is set, binlog file s that exceed the defined number of days may be cleaned up when mysqld ...
Posted by elacdude on Wed, 07 Aug 2019 15:30:07 +0200
MySQL_Server_8.0.17_Environment Setup_Basic Knowledge
MySQL download, install, configure:
1.1 Download Address: https://dev.mysql.com/downloads/mysql/1.2 Unzip, Configuration File: Unzip to the C disk'web'folder.
Add the configuration file "my.ini" under the mysql-8.0.17 folder:
[client]
# Setting the default character set for mysql client
defa ...
Posted by Jeff4507 on Wed, 07 Aug 2019 14:19:49 +0200
Mysql database backup
Backup database
1. Using the cmd command line to perform data backup:
Backup command code format:
Mysqldump-h database server IP-P database uses port number-u account-p password database name > save path
mysqldump -h127.0.0.1 -p3306 -uroot -proot zbsqx>D:\MysqlBackup\20190807.sql
Enter the above c ...
Posted by mgason on Wed, 07 Aug 2019 13:29:17 +0200
JAVA Wechat Development - How to Save a Nickname Containing Special Characters
In the development of Wechat, it is very important for us to get user's detailed information through openid, including nicknames, avatars, provinces, cities and districts. But in the mobile age, many people pursue personality and use a lot of Martian characters or emoticons in their names. (I have actually tested a 20w + user's public number, n ...
Posted by sayma on Wed, 07 Aug 2019 08:44:39 +0200
Cascade replication of database
Environmental Science:
192.168.205.17: as master server
192.168.205.27: as middle server
192.168.205.37: as slave server
Edition:
OS: centos 7 1810 with mini install
mariadb-5.5.60
Purpose:
If there may be a master server and a read server in the production environment, and there may be multiple slave servers, but the performance of th ...
Posted by subasi on Mon, 05 Aug 2019 13:13:55 +0200