mysql -V
SHOW VARIABLES LIKE "%version%";
CREATE DATABASE `mydatabase` CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
show status where variable_name = 'threads_connected';
show processlist;
select id,user,host,db,command,time,state,info from information_schema.processlist;
SET GLOBAL general_log = 'OFF';
SET GLOBAL general_log = 'ON';
https://dba.stackexchange.com/questions/76788/create-a-mysql-database-with-charset-utf-8
https://dev.mysql.com/doc/refman/5.7/en/log-destinations.html