370 lines
13 KiB
Plaintext
370 lines
13 KiB
Plaintext
install plugin mysqlx soname "mysqlx.so";
|
|
call mtr.add_suppression("Plugin mysqlx reported: .Failed at SSL configuration: .SSL context is not usable without certificate and private key..");
|
|
call mtr.add_suppression("Plugin mysqlx reported: .SSL_CTX_load_verify_locations failed.");
|
|
call mtr.add_suppression("Plugin mysqlx reported: 'Delayed startup failed. Plugin is unable to accept connections.'");
|
|
call mtr.add_suppression("Plugin mysqlx reported: 'Invalid server state'");
|
|
call mtr.add_suppression("Plugin mysqlx reported: '.*: Internal error executing query'");
|
|
call mtr.add_suppression("Can.t open and lock privilege tables: Server shutdown in progress");
|
|
RUN create user xplugin@localhost identified by 'xplugin'
|
|
|
|
0 rows affected
|
|
RUN create user session@localhost identified by 'session'
|
|
|
|
0 rows affected
|
|
RUN grant all on *.* to session@localhost
|
|
|
|
0 rows affected
|
|
Mysqlx.Ok {
|
|
msg: "bye!"
|
|
}
|
|
ok
|
|
RUN show variables like 'mysqlx_idle_worker_thread_timeout%'
|
|
Variable_name Value
|
|
mysqlx_idle_worker_thread_timeout 60
|
|
0 rows affected
|
|
RUN show variables like 'mysqlx_max_allowed_packet%'
|
|
Variable_name Value
|
|
mysqlx_max_allowed_packet 1048576
|
|
0 rows affected
|
|
RUN show variables like 'mysqlx_max_connections%'
|
|
Variable_name Value
|
|
mysqlx_max_connections 100
|
|
0 rows affected
|
|
RUN show variables like 'mysqlx_min_worker_threads%'
|
|
Variable_name Value
|
|
mysqlx_min_worker_threads 2
|
|
0 rows affected
|
|
RUN uninstall plugin mysqlx
|
|
While executing uninstall plugin mysqlx:
|
|
Got expected error: Command not supported by pluggable protocols (code 3130)
|
|
RUN show variables like 'mysqlx_idle_worker_thread_timeout%'
|
|
Variable_name Value
|
|
mysqlx_idle_worker_thread_timeout 60
|
|
0 rows affected
|
|
RUN show variables like 'mysqlx_max_allowed_packet%'
|
|
Variable_name Value
|
|
mysqlx_max_allowed_packet 1048576
|
|
0 rows affected
|
|
RUN show variables like 'mysqlx_max_connections%'
|
|
Variable_name Value
|
|
mysqlx_max_connections 100
|
|
0 rows affected
|
|
RUN show variables like 'mysqlx_min_worker_threads%'
|
|
Variable_name Value
|
|
mysqlx_min_worker_threads 2
|
|
0 rows affected
|
|
RUN SELECT PLUGIN_NAME,PLUGIN_VERSION,PLUGIN_STATUS,PLUGIN_TYPE,LOAD_OPTION from information_schema.plugins where PLUGIN_NAME LIKE 'mysqlx%'
|
|
PLUGIN_NAME PLUGIN_VERSION PLUGIN_STATUS PLUGIN_TYPE LOAD_OPTION
|
|
mysqlx 1.0 ACTIVE DAEMON ON
|
|
0 rows affected
|
|
Mysqlx.Ok {
|
|
msg: "bye!"
|
|
}
|
|
ok
|
|
uninstall plugin mysqlx;
|
|
ERROR: Connection refused connecting to HOST:PORT
|
|
install plugin mysqlx soname "mysqlx.so";
|
|
show variables like 'mysqlx_idle_worker_thread_timeout%';
|
|
Variable_name Value
|
|
mysqlx_idle_worker_thread_timeout 60
|
|
show variables like 'mysqlx_max_allowed_packet%';
|
|
Variable_name Value
|
|
mysqlx_max_allowed_packet 1048576
|
|
show variables like 'mysqlx_max_connections%';
|
|
Variable_name Value
|
|
mysqlx_max_connections 100
|
|
show variables like 'mysqlx_min_worker_threads%';
|
|
Variable_name Value
|
|
mysqlx_min_worker_threads 2
|
|
set @@global.mysqlx_idle_worker_thread_timeout=70;
|
|
set @@global.mysqlx_max_allowed_packet=4048576;
|
|
set @@global.mysqlx_max_connections=500;
|
|
set @@global.mysqlx_min_worker_threads=50;
|
|
show variables like 'mysqlx_idle_worker_thread_timeout%';
|
|
Variable_name Value
|
|
mysqlx_idle_worker_thread_timeout 70
|
|
show variables like 'mysqlx_max_allowed_packet%';
|
|
Variable_name Value
|
|
mysqlx_max_allowed_packet 4048576
|
|
show variables like 'mysqlx_max_connections%';
|
|
Variable_name Value
|
|
mysqlx_max_connections 500
|
|
show variables like 'mysqlx_min_worker_threads%';
|
|
Variable_name Value
|
|
mysqlx_min_worker_threads 50
|
|
uninstall plugin mysqlx;
|
|
install plugin mysqlx soname "mysqlx.so";
|
|
RUN select user(),current_user(),@@bind_address
|
|
user() current_user() @@bind_address
|
|
session@localhost session@localhost *
|
|
0 rows affected
|
|
RUN show grants
|
|
Grants for session@localhost
|
|
GRANT ALL PRIVILEGES ON *.* TO 'session'@'localhost'
|
|
0 rows affected
|
|
RUN install plugin mysqlx soname '$MYSQLXPLUGIN'
|
|
While executing install plugin mysqlx soname '$MYSQLXPLUGIN':
|
|
Got expected error: Command not supported by pluggable protocols (code 3130)
|
|
Mysqlx.Ok {
|
|
msg: "bye!"
|
|
}
|
|
ok
|
|
RUN select user(),current_user(),@@bind_address
|
|
user() current_user() @@bind_address
|
|
xplugin@localhost xplugin@localhost *
|
|
0 rows affected
|
|
RUN show grants
|
|
Grants for xplugin@localhost
|
|
GRANT USAGE ON *.* TO 'xplugin'@'localhost'
|
|
0 rows affected
|
|
RUN install plugin mysqlx soname '$MYSQLXPLUGIN'
|
|
While executing install plugin mysqlx soname '$MYSQLXPLUGIN':
|
|
Got expected error: Command not supported by pluggable protocols (code 3130)
|
|
Mysqlx.Ok {
|
|
msg: "bye!"
|
|
}
|
|
ok
|
|
call mtr.add_suppression("Plugin mysqlx reported: 'Session error: Session was killed");
|
|
call mtr.add_suppression("Plugin mysqlx reported: 'Error executing CREATE USER IF NOT EXISTS mysqlxsys@localhost'");
|
|
call mtr.add_suppression("Plugin mysqlx reported: 'Authentication account could not be created, mysqlx plugin will be inaccessible.'");
|
|
uninstall plugin mysqlx;
|
|
# restart: --loose-mysqlx_idle_worker_thread_timeout=70 --loose-mysqlx_max_allowed_packet=4048576 --loose-mysqlx_max_connections=500 --loose-mysqlx_min_worker_threads=50
|
|
ERROR: Connection refused connecting to HOST:PORT
|
|
show variables like 'mysqlx_idle_worker_thread_timeout%';
|
|
Variable_name Value
|
|
show variables like 'mysqlx_max_allowed_packet%';
|
|
Variable_name Value
|
|
show variables like 'mysqlx_max_connections%';
|
|
Variable_name Value
|
|
show variables like 'mysqlx_min_worker_threads%';
|
|
Variable_name Value
|
|
install plugin mysqlx soname "mysqlx.so";
|
|
show variables like 'mysqlx_idle_worker_thread_timeout%';
|
|
Variable_name Value
|
|
mysqlx_idle_worker_thread_timeout 70
|
|
show variables like 'mysqlx_max_allowed_packet%';
|
|
Variable_name Value
|
|
mysqlx_max_allowed_packet 4048576
|
|
show variables like 'mysqlx_max_connections%';
|
|
Variable_name Value
|
|
mysqlx_max_connections 500
|
|
show variables like 'mysqlx_min_worker_threads%';
|
|
Variable_name Value
|
|
mysqlx_min_worker_threads 50
|
|
SELECT PLUGIN_NAME,PLUGIN_VERSION,PLUGIN_STATUS,PLUGIN_TYPE,LOAD_OPTION from information_schema.plugins where PLUGIN_NAME LIKE 'mysqlx%';
|
|
PLUGIN_NAME PLUGIN_VERSION PLUGIN_STATUS PLUGIN_TYPE LOAD_OPTION
|
|
mysqlx 1.0 ACTIVE DAEMON ON
|
|
uninstall plugin mysqlx;
|
|
# restart: --plugin-load=mysqlx.so --mysqlx_idle_worker_thread_timeout=70 --mysqlx_max_allowed_packet=4048576 --mysqlx_max_connections=500 --mysqlx_min_worker_threads=50
|
|
show variables like 'mysqlx_idle_worker_thread_timeout%';
|
|
Variable_name Value
|
|
mysqlx_idle_worker_thread_timeout 70
|
|
show variables like 'mysqlx_max_allowed_packet%';
|
|
Variable_name Value
|
|
mysqlx_max_allowed_packet 4048576
|
|
show variables like 'mysqlx_max_connections%';
|
|
Variable_name Value
|
|
mysqlx_max_connections 500
|
|
show variables like 'mysqlx_min_worker_threads%';
|
|
Variable_name Value
|
|
mysqlx_min_worker_threads 50
|
|
uninstall plugin mysqlx;
|
|
show variables like 'mysqlx_idle_worker_thread_timeout%';
|
|
Variable_name Value
|
|
show variables like 'mysqlx_max_allowed_packet%';
|
|
Variable_name Value
|
|
show variables like 'mysqlx_max_connections%';
|
|
Variable_name Value
|
|
show variables like 'mysqlx_min_worker_threads%';
|
|
Variable_name Value
|
|
SELECT PLUGIN_NAME,PLUGIN_VERSION,PLUGIN_STATUS,PLUGIN_TYPE,LOAD_OPTION from information_schema.plugins where PLUGIN_NAME LIKE 'mysqlx%';
|
|
PLUGIN_NAME PLUGIN_VERSION PLUGIN_STATUS PLUGIN_TYPE LOAD_OPTION
|
|
install plugin mysqlx soname "mysqlx.so";
|
|
uninstall plugin mysqlx;
|
|
# restart: --max_connections=151
|
|
install plugin mysqlx soname "mysqlx.so";
|
|
# restart: --max_connections=151
|
|
RUN select user(),current_user(),@@bind_address
|
|
user() current_user() @@bind_address
|
|
root@localhost root@localhost *
|
|
0 rows affected
|
|
Mysqlx.Ok {
|
|
msg: "bye!"
|
|
}
|
|
ok
|
|
uninstall plugin mysqlx;
|
|
# restart: --max_connections=151
|
|
install plugin mysqlx soname "mysqlx.so";
|
|
# restart: --max_connections=151 --mysqlx_idle_worker_thread_timeout=70 --mysqlx_max_allowed_packet=4048576 --mysqlx_max_connections=500 --mysqlx_min_worker_threads=50
|
|
RUN show variables like 'mysqlx_idle_worker_thread_timeout%'
|
|
Variable_name Value
|
|
mysqlx_idle_worker_thread_timeout 70
|
|
0 rows affected
|
|
RUN show variables like 'mysqlx_max_allowed_packet%'
|
|
Variable_name Value
|
|
mysqlx_max_allowed_packet 4048576
|
|
0 rows affected
|
|
RUN show variables like 'mysqlx_max_connections%'
|
|
Variable_name Value
|
|
mysqlx_max_connections 500
|
|
0 rows affected
|
|
RUN show variables like 'mysqlx_min_worker_threads%'
|
|
Variable_name Value
|
|
mysqlx_min_worker_threads 50
|
|
0 rows affected
|
|
Mysqlx.Ok {
|
|
msg: "bye!"
|
|
}
|
|
ok
|
|
uninstall plugin mysqlx;
|
|
# restart: --plugin-dir=MYSQL_TMP_DIR/
|
|
INSTALL PLUGIN mysqlx soname "mysqlx.so";
|
|
ERROR HY000: Can't open shared library
|
|
# restart:
|
|
install plugin mysqlx soname "mysqlx.so";
|
|
uninstall plugin mysqlx;
|
|
# restart: --plugin-load=mysqlx.so --mysqlx_idle_worker_thread_timeout=70 --mysqlx_max_allowed_packet=4048576 --mysqlx_max_connections=500 --mysqlx_min_worker_threads=50
|
|
RUN show variables like 'mysqlx_idle_worker_thread_timeout%'
|
|
Variable_name Value
|
|
mysqlx_idle_worker_thread_timeout 70
|
|
0 rows affected
|
|
RUN show variables like 'mysqlx_max_allowed_packet%'
|
|
Variable_name Value
|
|
mysqlx_max_allowed_packet 4048576
|
|
0 rows affected
|
|
RUN show variables like 'mysqlx_max_connections%'
|
|
Variable_name Value
|
|
mysqlx_max_connections 500
|
|
0 rows affected
|
|
RUN show variables like 'mysqlx_min_worker_threads%'
|
|
Variable_name Value
|
|
mysqlx_min_worker_threads 50
|
|
0 rows affected
|
|
RUN uninstall plugin mysqlx
|
|
While executing uninstall plugin mysqlx:
|
|
Got expected error: Command not supported by pluggable protocols (code 3130)
|
|
RUN show variables like 'mysqlx_idle_worker_thread_timeout%'
|
|
Variable_name Value
|
|
mysqlx_idle_worker_thread_timeout 70
|
|
0 rows affected
|
|
RUN show variables like 'mysqlx_max_allowed_packet%'
|
|
Variable_name Value
|
|
mysqlx_max_allowed_packet 4048576
|
|
0 rows affected
|
|
RUN show variables like 'mysqlx_max_connections%'
|
|
Variable_name Value
|
|
mysqlx_max_connections 500
|
|
0 rows affected
|
|
RUN show variables like 'mysqlx_min_worker_threads%'
|
|
Variable_name Value
|
|
mysqlx_min_worker_threads 50
|
|
0 rows affected
|
|
RUN SELECT PLUGIN_NAME,PLUGIN_VERSION,PLUGIN_STATUS,PLUGIN_TYPE,LOAD_OPTION from information_schema.plugins where PLUGIN_NAME LIKE 'mysqlx%'
|
|
PLUGIN_NAME PLUGIN_VERSION PLUGIN_STATUS PLUGIN_TYPE LOAD_OPTION
|
|
mysqlx 1.0 ACTIVE DAEMON ON
|
|
0 rows affected
|
|
Mysqlx.Ok {
|
|
msg: "bye!"
|
|
}
|
|
ok
|
|
RUN show variables like 'mysqlx_idle_worker_thread_timeout%'
|
|
Variable_name Value
|
|
mysqlx_idle_worker_thread_timeout 70
|
|
0 rows affected
|
|
RUN show variables like 'mysqlx_max_allowed_packet%'
|
|
Variable_name Value
|
|
mysqlx_max_allowed_packet 4048576
|
|
0 rows affected
|
|
RUN show variables like 'mysqlx_max_connections%'
|
|
Variable_name Value
|
|
mysqlx_max_connections 500
|
|
0 rows affected
|
|
RUN show variables like 'mysqlx_min_worker_threads%'
|
|
Variable_name Value
|
|
mysqlx_min_worker_threads 50
|
|
0 rows affected
|
|
RUN set @@global.mysqlx_idle_worker_thread_timeout=70
|
|
|
|
0 rows affected
|
|
RUN set @@global.mysqlx_max_allowed_packet=4048576
|
|
|
|
0 rows affected
|
|
RUN set @@global.mysqlx_max_connections=500
|
|
|
|
0 rows affected
|
|
RUN set @@global.mysqlx_min_worker_threads=50
|
|
|
|
0 rows affected
|
|
RUN show variables like 'mysqlx_idle_worker_thread_timeout%'
|
|
Variable_name Value
|
|
mysqlx_idle_worker_thread_timeout 70
|
|
0 rows affected
|
|
RUN show variables like 'mysqlx_max_allowed_packet%'
|
|
Variable_name Value
|
|
mysqlx_max_allowed_packet 4048576
|
|
0 rows affected
|
|
RUN show variables like 'mysqlx_max_connections%'
|
|
Variable_name Value
|
|
mysqlx_max_connections 500
|
|
0 rows affected
|
|
RUN show variables like 'mysqlx_min_worker_threads%'
|
|
Variable_name Value
|
|
mysqlx_min_worker_threads 50
|
|
0 rows affected
|
|
RUN uninstall plugin mysqlx
|
|
While executing uninstall plugin mysqlx:
|
|
Got expected error: Command not supported by pluggable protocols (code 3130)
|
|
RUN install plugin mysqlx soname '$MYSQLXPLUGIN'
|
|
While executing install plugin mysqlx soname '$MYSQLXPLUGIN':
|
|
Got expected error: Command not supported by pluggable protocols (code 3130)
|
|
Mysqlx.Ok {
|
|
msg: "bye!"
|
|
}
|
|
ok
|
|
RUN show variables like 'mysqlx_idle_worker_thread_timeout%'
|
|
Variable_name Value
|
|
mysqlx_idle_worker_thread_timeout 70
|
|
0 rows affected
|
|
RUN show variables like 'mysqlx_max_allowed_packet%'
|
|
Variable_name Value
|
|
mysqlx_max_allowed_packet 4048576
|
|
0 rows affected
|
|
RUN show variables like 'mysqlx_max_connections%'
|
|
Variable_name Value
|
|
mysqlx_max_connections 500
|
|
0 rows affected
|
|
RUN show variables like 'mysqlx_min_worker_threads%'
|
|
Variable_name Value
|
|
mysqlx_min_worker_threads 50
|
|
0 rows affected
|
|
RUN uninstall plugin mysqlx
|
|
While executing uninstall plugin mysqlx:
|
|
Got expected error: Command not supported by pluggable protocols (code 3130)
|
|
RUN show variables like 'mysqlx_idle_worker_thread_timeout%'
|
|
Variable_name Value
|
|
mysqlx_idle_worker_thread_timeout 70
|
|
0 rows affected
|
|
RUN show variables like 'mysqlx_max_allowed_packet%'
|
|
Variable_name Value
|
|
mysqlx_max_allowed_packet 4048576
|
|
0 rows affected
|
|
RUN show variables like 'mysqlx_max_connections%'
|
|
Variable_name Value
|
|
mysqlx_max_connections 500
|
|
0 rows affected
|
|
RUN show variables like 'mysqlx_min_worker_threads%'
|
|
Variable_name Value
|
|
mysqlx_min_worker_threads 50
|
|
0 rows affected
|
|
RUN SELECT PLUGIN_NAME,PLUGIN_VERSION,PLUGIN_STATUS,PLUGIN_TYPE,LOAD_OPTION from information_schema.plugins where PLUGIN_NAME LIKE 'mysqlx%'
|
|
PLUGIN_NAME PLUGIN_VERSION PLUGIN_STATUS PLUGIN_TYPE LOAD_OPTION
|
|
mysqlx 1.0 ACTIVE DAEMON ON
|
|
0 rows affected
|
|
Mysqlx.Ok {
|
|
msg: "bye!"
|
|
}
|
|
ok
|
|
drop user xplugin@localhost;
|
|
drop user session@localhost;
|
|
uninstall plugin mysqlx;
|