Tuesday, April 27, 2010
How to set INNODB as your default engine in MYSQL?
Problem:
The early version of MySQL is set with "myisam" as the default storage engine. How to set INNODB as your default engine?
Solution:
The early version of MySQL is set with "myisam" as the default storage engine. How to set INNODB as your default engine?
Solution:
SET STORAGE_ENGINE = INNODB;
To set other engines as your default storage engine:
set storage_engine = InnoDB;
set storage_engine = MyISAM;
set storage_engine = Falcon;
set storage_engine = PBXT;
set storage_engine = Maria;
Steps:
1. Open your MySQL configuration file (Usually found in location, /etc/my.cnf).
2. Add "SET STORAGE_ENGINE=INNODB".
3. Save and Exit
Featured Blog Topics:
- Forgot Drupal Login URL -http://kathyravan.blogspot.com/2009/08/forgot-drupal-login-url.html
- Unset Drupal Clean URL Settings - http://kathyravan.blogspot.com/2009/08/how-to-unset-drupal-clean-url-settings.html
- Joomla Updated Extensions List - http://kathyravan.blogspot.com/2009/08/joomla-updated-extentions-list.html
- MySQL Query Caching - http://kathyravan.blogspot.com/2008/12/mysql-query-cache.html
- MySQL Show - http://kathyravan.blogspot.com/2008/12/mysql-show-statements.html
- Blackhole - MySQL Storage Engine - http://kathyravan.blogspot.com/2008/12/blackhole-mysql-storage-engine.html
- Forgot mySQL root Password? - http://kathyravan.blogspot.com/2008/02/forgot-mysql-root-password.html
- Samba - Installation & Configuration - http://kathyravan.blogspot.com/2008/02/samba-installation-configuration.html
- Shell Scripting & Linux - http://kathyravan.blogspot.com/search/label/Shell%20Scripts
- Oracle - Single Quotes (') and Ampersands (&) in Insert Query -http://kathyravan.blogspot.com/2010/02/oracle-single-quotes-and-ampersands-in.html
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment