【实战】mariadb审计
---新建保存审计日志的目录mkdir /usr/local/mysql/mysql_logs/auditlogchown mysql:mysql /usr/local/mysql/mysql_logs/auditlog/--2.安装审计插件SHOW GLOBAL VARIABLES LIKE plugin_dir;INSTALL PLUGIN server_audit SONAME server_audit.so;SELECT * fro
---新建保存审计日志的目录 mkdir /usr/local/mysql/mysql_logs/auditlog chown mysql:mysql /usr/local/mysql/mysql_logs/auditlog/ --2.安装审计插件 SHOW GLOBAL VARIABLES LIKE 'plugin_dir'; INSTALL PLUGIN server_audit SONAME 'server_audit.so'; SELECT * from information_schema.plugins where plugin_name='server_audit'; SHOW GLOBAL VARIABLES LIKE 'server_audit%'; ------3.修改mysql配置文件 vi /etc/my.cnf server_audit =FORCE_PLUS_PERMANENT server_audit_events ='CONNECT,QUERY,TABLE' server_audit_logging =ON server_audit_incl_users =wind server_audit_file_rotate_size = 10G server_audit_file_path = /usr/local/mysql/mysql_logs/auditlog/server_audit.log -----4.新建测试用户 GRANT ALL PRIVILEGES ON wind.t1 TO 'wind'@'%' IDENTIFIED BY 'wind' WITH GRANT OPTION; flush privileges;

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



The logs of win10 can help users understand the system usage in detail. Many users must have encountered log 6013 when looking for their own management logs. So what does this code mean? Let’s introduce it below. What is win10 log 6013: 1. This is a normal log. The information in this log does not mean that your computer has been restarted, but it indicates how long the system has been running since the last startup. This log will appear once every day at 12 o'clock sharp. How to check how long the system has been running? You can enter systeminfo in cmd. There is one line in it.

Xiaohongshu has rich content that everyone can view freely here, so that you can use this software to relieve boredom every day and help yourself. In the process of using this software, you will sometimes see various beautiful things. Many people want to save pictures, but the saved pictures have watermarks, which is very influential. Everyone wants to know how to save pictures without watermarks here. The editor provides you with a method for those in need. Everyone can understand and use it immediately! 1. Click the "..." in the upper right corner of the picture to copy the link 2. Open the WeChat applet 3. Search the sweet potato library in the WeChat applet 4. Enter the sweet potato library and confirm to get the link 5. Get the picture and save it to the mobile phone album

1. Open the Douyin app, find the video you want to download and save, and click the [Share] button in the lower right corner. 2. In the pop-up window that appears, slide the function buttons in the second row to the right, find and click [Save Local]. 3. A new pop-up window will appear at this time, and the user can see the download progress of the video and wait for the download to complete. 4. After the download is completed, there will be a prompt of [Saved, please go to the album to view], so that the video just downloaded will be successfully saved to the user's mobile phone album.

The logs of win10 can help users understand the system usage in detail. Many users must have seen a lot of error logs when looking for their own management logs. So how to solve them? Let’s take a look below. . How to solve win10 log event 7034: 1. Click "Start" to open "Control Panel" 2. Find "Administrative Tools" 3. Click "Services" 4. Find HDZBCommServiceForV2.0, right-click "Stop Service" and change it to "Manual Start "

Video account is a popular short video application that allows users to shoot, edit and share their own videos. However, sometimes we may want to save these amazing videos to our photo album so that we can always look back at them when needed. So, next I will share some methods to teach you how to save the video of the video account to the album. Videos can be saved through the built-in function of the Video Number application. Open the app and find the video you want to save. Click the options icon in the lower right corner of the video, a menu will pop up, select "Save to Album". This will save the video to your phone's photo album. Method two is to save the video by taking a screenshot. This method is relatively straightforward, but the saved image will contain elements such as video control bars, which is not pure enough. you

After using HP printers to scan files, many users don't know where the scanned files are saved. If they want to find out where they are, they can search as scheduled in My Computer. Where are the files scanned by HP printers saved: 1. First open My Computer. 2. Then enter the date to search. 3. Then you can find the scanned files. 4. After the printer driver is installed, there will be a printer multifunction machine auxiliary software, open it. 5. Finally, click the scan folder icon to find the file.

Recently, some users who have just downloaded and contacted the lightning simulator software asked the editor how to create a new simulator in the lightning simulator? The following content brings the method of creating a new simulator in the lightning simulator. Let us take a look below. Find the lightning simulator software. Double-click to open the Thunderbolt multi-opener. Click New/Copy Simulator. Click New Simulator. You can get a new simulator. Find the lightning simulator software, double-click to open the lightning multi-opener, click New/Copy Simulator, click New Simulator, and you will get a new simulator.

PHP Practice: Code Example to Quickly Implement the Fibonacci Sequence The Fibonacci Sequence is a very interesting and common sequence in mathematics. It is defined as follows: the first and second numbers are 0 and 1, and from the third Starting with numbers, each number is the sum of the previous two numbers. The first few numbers in the Fibonacci sequence are 0,1,1.2,3,5,8,13,21,...and so on. In PHP, we can generate the Fibonacci sequence through recursion and iteration. Below we will show these two
