Fix mysqld startup, fix tables creation.