Archive for March 2011

How to install ANT on LINUX




Apache Ant is a Java library and command-line tool that help building software. How to install: Create downloads directory if you dont have one Download tar version from http://ant.apache.org/bindownload.cgi Extract Rename the new directory as ant Insert the path into ANT_HOME Update the global PATH variable to include ANT_HOME Run the Ant script fetch.xml to […]






How to rename a database in MySQL




In MySQL there is no support for database renaming. In order to rename a MySQL database you can do one of the following: 1. Create new database and rename all tables in the old database to be in the new database: CREATE database new_db_name; RENAME TABLE db_name.table1 TO new_db_name, db_name.table2 TO new_db_name; DROP database db_name; […]