Main Menu

friends

Latest articles

list all open ports
29/12/2009 | mad mad mod

 The netstat command to list all open udp and tcp ports and the PID and name of the program to which each socket belongs is: # netstat -tulpn Use lsof to list ALL open files (directorie [ ... ]


ssh key exchange or how to logon without entering a password
24/03/2009 | mad mad mod

Sometimes you want to jump from one server to another without entering the password. What you have to do is called "key exchange". Although this is very easy to set up many people don't know how to do [ ... ]


Other Articles
Facebook MySpace Twitter Digg Delicious Stumbleupon Google Bookmarks 

Designed by:
SiteGround web hosting Joomla Templates
convert mysql table from MyISAM to InnoDB E-mail
sysadmin

MyISAM is the default storage engine for MySQL. Unfortunately it doesn't support transactions or foreign keys (but it has some other nice features like compression). However, because InnoDB does support transactions and foreign keys you might want to change your tables from MyISAM to InnoDB storage-Engine

If you are not sure which storage engine you should use you should also have a look at this great site: http://www.mysqlperformanceblog.com/2009/01/12/should-you-move-from-myisam-to-innodb/ 

 

Step 1: check your my.cnf configfile

 

change this line

 

skip-innodb

 

to

 

 

# skip-innodb

 

now restart mysql:

 

# /etc/init.d/mysql restart

the location of the mysql start script depends on your Linux distribution and  mysql implementation.

 

 

Step 2: convert the table to InnodB

 

start the MySQL command-line interface, switch to your database and alter the table you want to convert:

 

mysql> ALTER table mytable ENGINE=Innodb;

 

 

 

Comments (0)
Write comment
Your Contact Details:
Comment:
[b] [i] [u] [url] [quote] [code] [img]   
:D:angry::angry-red::evil::idea::love::x:no-comments::ooo::pirate::?::(
:sleep::););)):0
Security
Please input the anti-spam code that you can read in the image.

!joomlacomment 4.0 Copyright (C) 2009 Compojoom.com . All rights reserved."

 
mad mad mod, Powered by Joomla! and designed by SiteGround web hosting