MySQL Reset Root Password
We can reset root Password using two techniques. First one is using the mysqladmin command and second one is using the mysql safemode technique. I have describe both the technique below. Technique 1....
View ArticleHow to Change the MySQL replication master host
Here.s a little post on how to change the master database host that the replication slave in a MySQL replication setup uses. This can happen if there is a change in network addresses or when you want...
View ArticleMySQL replication status notification
Using the below simple bash script you can get an alert message from the replication server if replication is down or not working.#!/bin/bash...
View ArticleHow to Install CouchBase 2.0.1 Enterprise Server on Centos with...
Couchbase is a simple, fast and elastic document-oriented database. These applications must service many concurrent users; creating, storing, retrieving, aggregating, manipulating and presenting data....
View ArticleHow to secure newly installed MySQL
Don’t you think that you have a security hole after a fresh installation of MySQL database? If don’t then Please try to login to your MySQL without any username and password. It will allow you to...
View ArticleBasic MySQL commands
Here I will describe some basic commands of MySQL. After login to the server console by SSH you can issue the below commands. Loing to MySQL mysql -u <username> -p List all MySQL databases on the...
View ArticleScript to backup MySQL databases
Sometimes we need a automated system which will make the backup of our database server. But some of the Databases are unnecessary for us to make those backup. This script will help you to make backup...
View ArticleHow to Install and configure MongoDB securely on Ubuntu 12.04
To install mongodb on Ubuntu we can use a shell script which will help you to reduce key stokes. Create a script file named “mongodb.sh”vi mongodb.bashAdd the below lines to the file.apt-key adv...
View ArticleWhich Oracle index is a good candidate for a rebuild
This script determines whether an index is a good candidate for a rebuild or for a bitmap index. All indexes for a given schema or for a subset of schema’s are analyzed (except indexes under SYS and...
View ArticleHow to find Sessions generating high redo/archives in Oracle
Sometimes, database generates lot more archives than the normal. In this article I will show you how to find them. Below are the queries to drill down to the root cause and fix the issue.Run the below...
View Article