Summary of several key points about mysql init_connect

Summary of several key points about mysql init_connect

The role of init_connect

init_connect is usually used to: when a connection comes in, do some operations, such as setting autocommit to 0, such as recording the current connection's IP source and user information into a new table as login log information

Notes on using init_connect

1 Only super accounts can set (super_priv permission)

2 The super account ignores the init_connect setting (that is, the init_connect setting has no effect on connections from the super account)

The above summary of several key points about mysql init_connect is all the content that the editor shares with you. I hope it can give you a reference. I also hope that you will support 123WORDPRESS.COM.

<<:  General Guide to Linux/CentOS Server Security Configuration

>>:  WeChat applet tab left and right sliding switch function implementation code

Recommend

React Router 5.1.0 uses useHistory to implement page jump navigation

Table of contents 1. Use the withRouter component...

Detailed tutorial on deploying Apollo custom environment with docker-compose

Table of contents What is the Apollo Configuratio...

Practical Optimization of MySQL Paging Limit

Preface When we use query statements, we often ne...

Steps to package and deploy the Vue project to the Apache server

In the development environment, the vue project i...

503 service unavailable error solution explanation

1. When you open the web page, 503 service unavai...

JavaScript function call, apply and bind method case study

Summarize 1. Similarities Both can change the int...

25 Tools to Improve Website Usability and Conversion Rates

For a website, usability refers to whether users c...

Use of Linux chkconfig command

1. Command Introduction The chkconfig command is ...

Docker packages the local image and restores it to other machines

1. Use docker images to view all the image files ...

CSS3 realizes the graphic falling animation effect

See the effect first Implementation Code <div ...

How to limit the value range of object keys in TypeScript

When we use TypeScript, we want to use the type s...

Use of Linux crontab command

1. Command Introduction The contab (cron table) c...

Markup validation for doctype

But recently I found that using this method will c...