How to install InnoDB (step by step)

michelle_ai

Registered
Apr 29, 2010
1
0
51
:eek:

I nearly crazy about innoDB.
I read all the post related with innoDB,

But i still dont know how to install it.

My host tell me, i can install it by myself.

Any i didnt see any place in PHPMYADMIN ,where i can enable the innoDB.

People said, i can use ssh to do it.

But How?

I click SSH/Shell Access.

Which one i should choose, about username and password, is the same with login cpanel?

But after i enter the SSH, it cant type anything.

And I also use Putty ,,,,i can connect with my sever.

But it said ,,permission denied.......

Plz,,Plz,,,,Help me..

I need innoDB to install Magento....

Thanks
 

madaboutlinux

Well-Known Member
Jan 24, 2005
1,051
2
168
Earth
Do you own the server OR you have a Shared/Reseller plan somewhere? If you own the complete server, ssh to the server using Putty

user: root
pass: root password i.e. the one you use to access WHM

Once you are logged in, check if Innodb is already there. Execute the command:

mysqladmin variables | grep have_innodb
this will tell you if Innodb is present on the server and whether it is ON or OFF. Forward the output of the above command so people here can assist you further.
 

kuldeep_

Well-Known Member
Apr 24, 2010
54
0
56
If you see have_innodb is set to OFF. It indicate thet innodb is disabled on your server.

To enable it, ssh to your server as root and open file /etc/my.cnf with your favorite editor.

Search for line skip-innodb and comment the line by placing # in the starting of the line.

Save and quit the file and restart mysql service for changes to take effect.

HTML:
/etc/init.d/mysql restart
Now check status of InnoDb engine
HTML:
mysqladmin variables | grep have_innodb
Above command should show output as YES now.
 

Jalal Hoseini

Member
Apr 17, 2015
6
0
1
Armenia
cPanel Access Level
Root Administrator
Hi,

I have same problem,
the ibdata1 had a big volume, and I made a backup from my Databases, and removed ibdata1 file in /var/lib/mysql/ and then restored databases.
now all is good, but just I do not have the innodb engine working.

Missing innodb in "mysql> show engines;"
and also innodb is not skipped in my.cnf
[email protected] [~]# cat /etc/my.cnf | grep "skip-innodb"
[email protected] [~]#

looks that I need to reinstall the mysql server or mysql engine innodb on this server.

I`ll be thanksful if you update me.
regards
 

24x7ss

Well-Known Member
Sep 30, 2014
272
17
68
India
cPanel Access Level
Root Administrator
Twitter
Yes, in your case you have to reinstall mysql on server or try upgrading mysql this will fix your innodb engine issue. For better performance of site I will suggest you to go with MariaDB instead of mysql.