Question : Getting "Unknown table engine 'InnoDB'" message in mySQL after updating my.cnf

In an effort to optimize my mySQL configuration, I applied this my.cnf file:
http://www.felipecruz.com/mysql-server-production-my-cnf-file.php

Everything was working fine but when I tried to run a script (previously working) which imports data from one database to another, I get this mesage:

Unknown table engine 'InnoDB'

I checked my database engines in mySQL and it shows the code below (i.e. that "InnoDB" is not supported).

I do not want to use InnoDB so I'm not sure why I'm getting this error.

Any ideas?

FYI, here is my server info:
* Fedora release 13 (Goddard)
* Server version: Apache/2.2.15 (Unix)
* mysql  Ver 14.14 Distrib 5.1.47, for redhat-linux-gnu (x86_64) using readline 5.1
* PHP 5.3.2 (cli) (built: Apr 30 2010 05:43:53)


1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
+------------+---------+------------------------------------------------------------+--------------+------+------------+
| Engine     | Support | Comment                                                    | Transactions | XA   | Savepoints |
+------------+---------+------------------------------------------------------------+--------------+------+------------+
| MRG_MYISAM | YES     | Collection of identical MyISAM tables                      | NO           | NO   | NO         |
| CSV        | YES     | CSV storage engine                                         | NO           | NO   | NO         |
| MyISAM     | DEFAULT | Default engine as of MySQL 3.23 with great performance     | NO           | NO   | NO         |
| InnoDB     | NO      | Supports transactions, row-level locking, and foreign keys | NULL         | NULL | NULL       |
| MEMORY     | YES     | Hash based, stored in memory, useful for temporary tables  | NO           | NO   | NO         |
+------------+---------+------------------------------------------------------------+--------------+------+------------+
5 rows in set (0.00 sec)

Answer : Getting "Unknown table engine 'InnoDB'" message in mySQL after updating my.cnf

Go to Control Panel -> User Accounts -> your user and look at User Account Control. It is more variable than Vista (on/off only) and can be lowered. If you are very careful, you can turn it off. That is an option that some persons here do not support, but in the end it is your decision. ... Thinkpads_User
Random Solutions  
 
programming4us programming4us