create user 'hqadmin'@'localhost' identified by 'hqadmin';
create database HQ CHARACTER SET utf8 COLLATE utf8_bin;
grant all on HQ.* to 'hqadmin'@localhost;
use HQ;
REATE TABLE example (
id INT,
data VARCHAR(100)
);
show tables;
drop table example;
mkdir /home/hyperic
chown root.Srinivas /home/hyperic
cd /home/hyperic
cp -rf hyperic-hq-installer .
cd hyperic-hq-installer/
sh setup.sh -mysql
Enter the username to use to connect to the database:
hqadmin
Enter the password to use to connect to the database.: hqadmin
create database HQ CHARACTER SET utf8 COLLATE utf8_bin;
grant all on HQ.* to 'hqadmin'@localhost;
use HQ;
REATE TABLE example (
id INT,
data VARCHAR(100)
);
show tables;
drop table example;
mkdir /home/hyperic
chown root.Srinivas /home/hyperic
cd /home/hyperic
cp -rf hyperic-hq-installer .
cd hyperic-hq-installer/
sh setup.sh -mysql
Enter the username to use to connect to the database:
hqadmin
Enter the password to use to connect to the database.: hqadmin
No comments:
Post a Comment