C:\Users\ac>net start mysql


C:\Users\ac>mysql -u root -p

Enter password: ********


mysql> create database gprsdb;


mysql> use gprsdb;


mysql> create table recievedata(gprsid int not null auto_increment,temperature float(5,2),humidity tinyint,recievetime timestamp NOT NULL default CURRENT_TIMESTAMP,primary key(gprsid)) engine=innodb auto_increment=1 default charset=utf8;


mysql> describe recievedata;