File tree Expand file tree Collapse file tree 2 files changed +20
-23
lines changed Expand file tree Collapse file tree 2 files changed +20
-23
lines changed Original file line number Diff line number Diff line change @@ -38,27 +38,9 @@ the tests accordingly.
38
38
MySQL 8.0 to test audit plugin functionality with a single thread.
39
39
40
40
## Running test suite with mysql-test-run
41
-
42
- ### Register test
43
-
44
- To register the audit plugin MTR test, add the following line to ` /mysql-test/include/plugin.defs ` :
45
-
46
- server_audit plugin_output_directory no SERVER_AUDIT server_audit
47
-
48
- ### Load plugin
49
-
50
- To test the plugin, either install the plugin when executing the MTR test
51
- or [ pre-load the
52
- plugin] ( https://dev.mysql.com/doc/refman/8.0/en/plugin-loading.html#server-plugin-installing-command-line )
53
- before the MTR starts.
54
-
55
- Server audit plugin test requires ` test_plugin_server ` to test the proxy
56
- use case. The test plugin ` test_plugin_server ` must be installed during the server start
57
- up, otherwise the proxy test case will fail.
58
-
59
- The [ test case
60
- options] ( https://dev.mysql.com/doc/dev/mysql-server/latest/PAGE_TESTCASE_SPECIFIC_SERVER_OPTIONS.html )
61
- file ` server_audit-master.opt ` exists to facilitate this.
41
+ ```
42
+ ./mysql-test-run --suite=server_audit
43
+ ```
62
44
63
45
## Updating tests
64
46
Original file line number Diff line number Diff line change @@ -30,10 +30,25 @@ possible, but adapts the plugin to use the MySQL 8.0 plugin API.
30
30
To view the MySQL 5.7 compatible version, see the branch ` mysql-5.7 ` in this
31
31
repository.
32
32
33
+ ## Compatibility
34
+
35
+ This plugin has been tested and verified on * Amazon Linux OS*
36
+ https://aws.amazon.com/amazon-linux-2 . It has not been tested on other operating
37
+ systems and does not support Windows OS.
38
+
33
39
## Compilation
34
40
35
- Copy the contents of this repository on top of the sources or MySQL so it
36
- compiles as part of the MySQL build.
41
+ Copy the plugin source code on top of the sources of MySQL using the following
42
+ command so it compiles as part of the MySQL build:
43
+
44
+ ```
45
+ rsync -av plugin/ <mysqlSourceFolder>/plugin/
46
+ ```
47
+
48
+ mysql-test is optional unless you want to run MTR tests:
49
+ ```
50
+ rsync -av mysql-test/ <mysqlSourceFolder>/mysql-test/
51
+ ```
37
52
38
53
## Installation
39
54
You can’t perform that action at this time.
0 commit comments