The functions of the database audit instance are normal. When there is database traffic, audit information about the executed SQL statement cannot be found in the SQL statement list.
The MySQL database client is used as an example. Perform the following steps:
\s
Add the following parameters at the end of the login command:
--ssl-mode=DISABLED
or
--ssl=0
If you log in to the MySQL database in SSL mode, you can only disable SSL for this login. To use the database audit function, log in to the MySQL database in the mode described in 3.b.
1 | SSL: Not in use |