Mysql not starting - innodb not found
- by Rob Guderian
I have a fresh install of ubuntu 12.04 server edition and mysql server is not starting properly.
I did a simple apt-get install
apt-get install mysql-server
But, it's failing with this error message
root@test:~# mysqld
120618 20:57:32 [Warning] The syntax '--log-slow-queries' is deprecated and will be removed in a future release. Please use '--slow-query-log'/'--slow-query-log-file' instead.
120618 20:57:32 [Note] Plugin 'FEDERATED' is disabled.
120618 20:57:32 InnoDB: The InnoDB memory heap is disabled
120618 20:57:32 InnoDB: Mutexes and rw_locks use GCC atomic builtins
120618 20:57:32 InnoDB: Compressed tables use zlib 1.2.3.4
120618 20:57:32 InnoDB: Unrecognized value fdatasync for innodb_flush_method
120618 20:57:32 [ERROR] Plugin 'InnoDB' init function returned error.
120618 20:57:32 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
120618 20:57:32 [ERROR] Unknown/unsupported storage engine: InnoDB
120618 20:57:32 [ERROR] Aborting
I can start the server with the "--skip-innodb --default-storage-engine=myisam" flags, but would like to use innodb.
Does anyone know what the issue here is?