There are two ways to verify if innodb is supported - i will skip how to check via phpmyadmin...
If you are in the command line already simply execute the following
place in your root passwordCode:mysql -u root -p
Now Type in
It should show something like thisCode:show engines;
Notice under InnoDB - it shows YES in my example.mysql> show engines;
+------------+---------+----------------------------------------------------------------+
| Engine | Support | Comment |
+------------+---------+----------------------------------------------------------------+
| MyISAM | DEFAULT | Default engine as of MySQL 3.23 with great performance |
| MEMORY | YES | Hash based, stored in memory, useful for temporary tables |
| InnoDB | YES | Supports transactions, row-level locking, and foreign keys |
| BerkeleyDB | NO | Supports transactions and page-level locking |
| BLACKHOLE | YES | /dev/null storage engine (anything you write to it disappears) |
| EXAMPLE | YES | Example storage engine |
| ARCHIVE | YES | Archive storage engine |
| CSV | YES | CSV storage engine |
| ndbcluster | NO | Clustered, fault-tolerant, memory-based tables |
| FEDERATED | YES | Federated MySQL storage engine |
| MRG_MYISAM | YES | Collection of identical MyISAM tables |
| ISAM | NO | Obsolete storage engine |
+------------+---------+----------------------------------------------------------------+
This example shows it is off
I hope that helps.mysql> show engines;
+------------+----------+----------------------------------------------------------------+
| Engine | Support | Comment |
+------------+----------+----------------------------------------------------------------+
| MyISAM | DEFAULT | Default engine as of MySQL 3.23 with great performance |
| MEMORY | YES | Hash based, stored in memory, useful for temporary tables |
| InnoDB | DISABLED | Supports transactions, row-level locking, and foreign keys |
| BerkeleyDB | NO | Supports transactions and page-level locking |
| BLACKHOLE | YES | /dev/null storage engine (anything you write to it disappears) |
| EXAMPLE | YES | Example storage engine |
| ARCHIVE | YES | Archive storage engine |
| CSV | YES | CSV storage engine |
| ndbcluster | NO | Clustered, fault-tolerant, memory-based tables |
| FEDERATED | YES | Federated MySQL storage engine |
| MRG_MYISAM | YES | Collection of identical MyISAM tables |
| ISAM | NO | Obsolete storage engine |
+------------+----------+----------------------------------------------------------------+
![]()
Feel like your Cloud Provider's just weathering the storm? Hop Off the Cloud - The Weathers nicer over here.
If your innodb is still not working - but you have it enabled - this could also be due to a log file issue.
FIRST STOP MYSQL BEFORE DOING THESE STEPS:
now go to the mysql directoryCode:service mysql stop
MOVE THE ibdata1, ib_logfile0 and ib_logfile1 files to a .bak like thisCode:cd /var/lib/mysql
Now restart Mysql and be patient.Code:mv ibdata1 ibdata1.bak mv ib_logfile0 ib_logfile0.bak ib_logfile1 ib_logfile1.bak
Now check for Innodb support as shown before:Code:service mysql restart
enter passwordCode:mysql -u root -p
Now at the prompt mysql> type
Code:show engines;
Two important disk-based resources managed by the InnoDB storage engine are its tablespace data files and its log files. If you specify no InnoDB configuration options (as is the case with most MySQL installs and the default on cPanel), MySQL creates an auto-extending 10MB data file named ibdata1 and two 5MB log files named ib_logfile0 and ib_logfile1 in the MySQL data directory
Innodb can Fail hard if those files have become corrupt.
Best wishes in your trouble shooting.
![]()
Feel like your Cloud Provider's just weathering the storm? Hop Off the Cloud - The Weathers nicer over here.
Actually, it's a lot easier than logging into MySQL command line:
This would return:Code:mysqladmin var | grep have_innodb
If it is disabled, it would return:Code:root@host [/home/cpfoo4]# mysqladmin var | grep have_innodb | have_innodb | YES |
Code:root@host [/home/cpfoo4]# mysqladmin var | grep have_innodb | have_innodb | DISABLED |
cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
-- Tristan, Forums Technical Analyst, cPanel Tech Support
Submit a ticket | Check an existing ticket
![]()
Feel like your Cloud Provider's just weathering the storm? Hop Off the Cloud - The Weathers nicer over here.