Get the App
SLTechnology News&Howtos  ›  Database  › 

Example Analysis of MySQL 5.5 PROXY USER camouflage user

Shulou Source: shulou.com Published: 2022-05-31 15:46:12 10月04日 Update

This article shows you a sample analysis of MySQL 5.5 PROXY USER camouflage users, which is concise and easy to understand. I hope you can learn something through the detailed introduction of this article.

A brief Analysis of MySQL 5.5 PROXY USER camouflage users

Since the release of the first version of MySQL 5.5, a new record has been added to the GRANT permission list: PROXY. Don't think this is the old MySQL Proxy. In fact, this is used to make vests for users. Let's take a look at the specific usage.

Here, I use MYSQL 5.2.23.

Install the plug-in

Now let's do the corresponding operation. First create a real user:

Now create the PROXY USER:

All right, let's quit and try this camouflage user. In the following figure, if the camouflage is not successful, the read-only variable @ @ proxy_user is NULL.

Let's take a look at the others:

OK . I see, it has the same permissions as the previous users.

The above is a sample analysis of MySQL 5.5 PROXY USER camouflage users. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Tags: Users examples analysis content skills permissions knowledge concise successful concise following figure variables that is plug-ins articles more versions articles industries information Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Redmi OPPO Reno Microsoft MariaDB