Creating Tables
To create the necessary tables in the database:
In the
/mysql/bin
directory connect to the database with the following command:$ mysql -uroot -p<password> -h <IP address to the MySQL Server>
Â
Show existing databases:
mysql> show databases;
The current databases should be displayed.
ÂCreate the PCC database:
mysql> create database pcc;
The PCC database should now be created.
ÂConnect to the database:
The database should now be changed to pcc.
ÂCreate the tables by running the scripts
pcc_bucket_mysqlc.sql
andÂpcc_config_mysqlc.sql
:Â
verify that the creation has been done by either:
Â
Exit MySQL when you are done: