mirror of
https://github.com/MariaDB/server.git
synced 2025-04-06 15:25:32 +02:00

- Return error when reading file-based password from locations readable by LOAD DATA or LOAD_FILE(). - If ssl_passphrase was set, SHOW VARIABLE will show "file:", "env:" or "pass:" (but won't reveal sensitive data)
6 lines
405 B
Text
6 lines
405 B
Text
-- source include/have_ssl_communication.inc
|
|
--replace_result env pass file pass
|
|
SELECT @@ssl_passphrase;
|
|
--exec $MYSQL --ssl -e "SELECT (VARIABLE_VALUE <> '') as have_ssl FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE VARIABLE_NAME='Ssl_cipher'" 2>&1
|
|
FLUSH SSL;
|
|
--exec $MYSQL --ssl -e "SELECT (VARIABLE_VALUE <> '') as have_ssl FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE VARIABLE_NAME='Ssl_cipher'" 2>&1
|