How to secure MySQL server

OS level Security: Never run the MySQL server as the linux ‘root’ user. Always create the separate user for MySQL and start/stop MySQL server with it. If the data directories are located under $mysql_home/data dir then make sure that directory and all subdirectories should have only read and write privileges for the mysql user. Always…

MySQL Server Performance Tips

MySQL Server Performance Tips: Do regular maintenance of MyISAM tables with analyze and optimize commands. Choose better backup policy for DBs. It completely depends on which storage engine we are using. Always try compress static data so can save the space and no need to take backup often. Check MySQL memory utilization before set any…

How to install Drupal 7.0 on Ubuntu 10.04

Drupal is a free and robust content-management system which runs on LAMP(Linux, Apache, MySQL and PHP) server. PostgreSQL and MariaDB are also compatible with with Drupal. Before start Drupal 7.0 installation, we have to install following packages related to LAMP. Here, I’m imagine that Ubuntu 10.04 is already installed 🙂 – A web server. Apache…

Tools for MySQL Database

There are many tools available for MySQL DB. Some of them are really helpful for performing different kind of tasks for MySQL database. Like for database administration, we can use MySQL Enterprise Monitor (which is coming with MySQL Enterprise version and it is paid version too). http://www.mysql.com/products/enterprise/monitor.html In the Open source technology, one of the…

Quick Reference of MySQL Data Types

    Quick Reference of MySQL Data Types There are three primary categories, which is true for almost every database software: Text Numbers Dates and times Within each of these, there are a number of variants—some of which are MySQL-specific—you can use. Choosing your column types correctly not only important what information can be stored…