Wednesday, January 14, 2015

Lab Basics

Start the mysql daemon   #service mysqld start

If there is an error , try one of these:-
  • remove /var/lib/mysql/mysql.conf
  • rename /var/lib/mysql/mysql.conf as /var/lib/mysql/mysql.conf.bak
  • run #killall mysql
To start the mysql prompt, type #mysql

Steps:-
  • Create a Database
  • Use Database
  • Create table
  • Alter/Drop table
  • Insert Data
  • Update/Delete Row
The commands would be dealt with in Lab1 & Lab2

No comments:

Post a Comment