MySQL Forums
Forum List  »  InnoDB

How to enable have_innodb variable
Posted by: Tata Rao
Date: January 10, 2008 09:21AM

Hi Forum,

I have instlled MySQL 5.0.14 Community Server on RHEL4. I have created the database using default MyISAM engine but now i want to change engine type of the database from MyISAM to InnoDB. To do so, I have tried to alter the tables by using alter statement but it is not getting changed to InnoDB.
Afterwards, i came to know that InnoDB engine is disabled in our instance.

Here are the outputs of InnoDB engine status of our instance:

mysql> show variables like '%have_inn%';
+---------------+----------+
| Variable_name | Value |
+---------------+----------+
| have_innodb | DISABLED |
+---------------+----------+
1 row in set (0.01 sec)

mysql> show engine innodb status;
ERROR 1235 (42000): Cannot call SHOW INNODB STATUS because skip-innodb is defined



So, I tried with following options to make have_innodb variable enable:

option 1: mysql> mysqld --have_innodb = YES

Option 2: Modified value of "innodb_data_file_path" from ibdata1:10M:autoextend to ibdata1:10M:autoextend:max:128M.

Please let me know if you know how to enable the innodb engine. It is very urgent.

Regards
Tata

Options: ReplyQuote


Subject
Views
Written By
Posted
How to enable have_innodb variable
20873
January 10, 2008 09:21AM
8089
January 10, 2008 10:45AM
11215
January 11, 2008 12:29AM
6471
February 27, 2008 05:10PM
6033
February 27, 2008 07:07PM
7673
February 27, 2008 07:40PM
8813
February 28, 2008 01:56PM
6681
February 28, 2008 04:45PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.