Why can I not start mysql server on ubuntu after change the innodb_flush_log_at_trx_commit value to be 2 ?
updated to answer the 3 questions:
mysql> show variables like 'version%';
+-------------------------+------------------+
| Variable_name | Value |
+-------------------------+------------------+
| version | 5.1.54-1ubuntu4 |
| version_comment | (Ubuntu) |
| version_compile_machine | i686 |
| version_compile_os | debian-linux-gnu |
+-------------------------+------------------+
mysql> show variables like 'have_innodb';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| have_innodb | YES |
+---------------+-------+
mysql> select * from information_schema.engines where engine='InnoDB';
+--------+---------+------------------------------------------------------------+--------------+------+------------+
| ENGINE | SUPPORT | COMMENT | TRANSACTIONS | XA | SAVEPOINTS |
+--------+---------+------------------------------------------------------------+--------------+------+------------+
| InnoDB | YES | Supports transactions, row-level locking, and foreign keys | YES | YES | YES |
+--------+---------+------------------------------------------------------------+--------------+------+------------+
1 row in set (0.00 sec)
show variables like 'version%';, 2)show variables like 'have_innodb';, 3)select * from information_schema.engines where engine='InnoDB';. Display the output of these 3 queries in your question. – RolandoMySQLDBA Feb 10 '12 at 5:19