fixed type in log output
force console mode for newer mysql versions
disable mysql error log to work around mysql bug 65592
key_buffer deprecated for key_buffer_size