Smart use of Event s to discover problems
Welcome to my In-depth Understanding MySQL Principle 32, as follows:
With a previous understanding of Events, we can use them to do some work.After learning these commonly used Events, I used C to write a tool for parsing Events. I called it'infobin', which means extracting information from a binary log.As far as I know, there are some friends ...
Posted by Steven_belfast on Fri, 03 Jan 2020 07:11:01 -0800
MySQL database language self study note 4: numerical functions of common functions
Numerical functions are also frequently used. Remember that they can make a lot of work more efficient.
abs(x) returns the absolute value:
mysql> select abs(-2),abs(3),abs(null);
+---------+--------+-----------+
| abs(-2) | abs(3) | abs(null) |
+---------+--------+-----------+
| 2 | 3 | NULL |
+---------+-- ...
Posted by kigroy on Fri, 03 Jan 2020 01:25:20 -0800
Mysql create database
Recently, I'm ready to start Mysql. I feel very interesting. I'm ready to study hard.
I just saw the creation of mysql database, which is very different from Oracle. I feel that mysql database is similar to Oracle's schema, but there is schema in mysql. Apart from the cluster environment, Oracle has multiple databases and inst ...
Posted by hawkeyes on Fri, 03 Jan 2020 00:33:44 -0800
Store SaltStack push information
After the server 1 (Master) is pushed to the minion, the minion will save the push information for 24 hours. However, in order to view the push information in the future, we should store the information for a long time, which is a good choice in the database. Now we use two methods to store the information, the latter is more c ...
Posted by killah on Fri, 03 Jan 2020 00:30:42 -0800
The introduction of print table stored procedure in oracle
All along, I think it's very easy to use the \ G parameter in MySQL to change the display mode of the output result set, especially in the command-line interface. But ORACLE database doesn't have this function. Today, when I searched a blog post of master Tom, I found that master used a stored procedure, print table, to implement such functions ...
Posted by Repgahroll on Thu, 02 Jan 2020 18:27:41 -0800
django paging system
1. Create the project and set it in settings.py and other basic operations
2. Add data to the database. This database uses mysql database,
If using mysql database, pay attention to
① mysql should be introduced into the init file in the created project file
import pymysql
pymysql.install_as_MySQLdb()
And set the relevant in ...
Posted by Mistat2000 on Thu, 02 Jan 2020 15:00:01 -0800
Kotlin - Fundamentals of programming
2.1 programming style
1. Hump nomenclature, without underscores.
For example, public class DataBaseUser
2. The first letter of the class should be capitalized
class People
3. Method and property names should be lowercase
fun hello(){
}
2.2 Kotlin constants and variables
Constant: val
Variables: var
2.2.1 constant
...
Posted by kushaljutta on Thu, 02 Jan 2020 06:15:01 -0800
[Linux] Database Management
The database organizes, stores and manages data according to the data structure. It is a warehouse built on the computer storage device.
Simply speaking, it can be regarded as an electronic file cabinet itself - the place where electronic files are stored. Users can add, intercept, update and delete data in files.1. Install and deploy http://w ...
Posted by matrixd on Wed, 01 Jan 2020 22:34:22 -0800
java database connection pool configuration
jar package required for connection pool configuration
Servlet api.jar imports the jar package under Tomcat directory by itself. If there are no other jar packages
See download link ----- > download (there's no way to set it as free, set it as the lowest point to download)
Download portal 2: YouDaoNote
These jar packag ...
Posted by coldwerturkey on Wed, 01 Jan 2020 18:04:42 -0800
Dodoke September 3 study notes
Syllabus
1. jsp form data change
2. Difference between form method get and post;
3. Character encoding
Course notes
1, jsp form data change
//First, query the database through id and display it in the form
<%
String id = request.getParameter("id");
String name ="";
Class.forName("com.mysql.jdbc.Driver");
...
Posted by foreverhex on Wed, 01 Jan 2020 10:01:14 -0800