Added error log configuration
Moved deprecated key_buffer to key_buffer_size variable. Removed deprecated language variable
Fixed always creating grant for REPLICATION SLAVE
Fixed check of data bags existance