2014-03-13 16:34:34 +01:00
|
|
|
--source include/not_embedded.inc
|
|
|
|
|
2019-02-19 01:04:56 +01:00
|
|
|
if (`select count(*) = 0 from information_schema.plugins where plugin_name = 'unix_socket' and plugin_status='active'`)
|
|
|
|
{
|
|
|
|
--skip Needs unix_socket plugin
|
2014-03-13 16:34:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
if (!$USER) {
|
|
|
|
skip USER variable is undefined;
|
|
|
|
}
|
|
|
|
|
2014-03-13 20:12:50 +01:00
|
|
|
if (`SELECT count(*) <> 0 FROM mysql.user WHERE user = '$USER'`) {
|
|
|
|
skip \$USER=$USER which exists in mysql.user;
|
|
|
|
}
|