Find mysql commands history without mysql server login
|

Find mysql commands history without mysql server login

This is a small tip to find mysql commands history without login into mysql server.When we login into MySQL server,generally we uses up and down arrow key to find the history of MySQL commands. Actually the MySQL commands history are saved in file called .mysql_history located in user’s home directory by which he/she logged into…

How to rename table in mysql using command line

How to rename table in mysql using command line

In this post we will know how to rename table in mysql using command line. It is basic and important command for MySQL database administration. We are doing this practical in MySQL server version 5.5.29. Syntax: Replace the table_name and NEW_TABLE_NAME as per your requirement. ALTER TABLE table_name RENAME NEW_TABLE_NAME Example: See the below given…

How to install pam_mysql in CentOS or Red Hat

How to install pam_mysql in CentOS or Red Hat

How to install pam_mysql in CentOS or Red Hat While working on some mysql authentication.I required pam_mysql. In CentOS 6.4 I found it was not available even in CentOS 5 it was not also. Again same method is applied. Download the EPEL repo. Step 1: Install latest EPEL Repo rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm Step 2: Now…

How to set default storage engine to MyISAM to InnoDB vice versa
|

How to set default storage engine to MyISAM to InnoDB vice versa

In this tutorial we will learn about how to set default storage engine to MyISAM to InnoDB or vice versa. Since the change in MySQL default storage engine as InnoDB there are many Database Servers which are still running in MyISAM. The change in Default storage engine come after MySQL 5.0 and later versions. In…

How to check default storage engine in MySQL server
|

How to check default storage engine in MySQL server

MySQL server comes with many engines,earlier MyISAM was default storage engine but from MySQL version 5.5 and later InnoDB now become a default storage engine. Yet,you should know what is the default storage engine running in mysql server. It might be possible any database admin has changed to MyISAM or INNODB as default storage engine…

Beginners 4 basic commands of database in mysql server

Beginners 4 basic commands of database in mysql server

Today we will learn about 4 basic commands in mysql server which are related to manage the database.These 4 commands are important for any Mysql Database administrator.The post is mainly written for beginners of MySQL database administration. All the data are saved in some database. These Databases have some name hence the basic thing is,we…

send email after mysql backup through bash script in simple way
| |

send email after mysql backup through bash script in simple way

send email after mysql backup through bash script in simple way In Facebook group one of the user asked this question “how to send email after mysql backup through bash script”. If you know bash scripting a bit it is just a one liner. It can be write in more advanced form but here I…

How to install mysql server in RedHat and CentOS
| | |

How to install mysql server in RedHat and CentOS

In this post we will learn about,how to install mysql server in RedHat and CentOS. MySQL is a relational database management system (RDBMS), and ships with no GUI tools to administer MySQL databases or manage data contained within the databases.Read More About MySQL Server Default Port Number of MySQL : 3306 (TCP) Install the MySQL…