{excerpt:hidden=true}How to install MySQL Server, create the VCL database, and import the VCL database schema{excerpt}
the database server: {tip}wget {nolink:http://www.apache.org/dist/incubator/vcl/apache-VCL-2.2.1-incubating.tar.bz2}{tip}
{tip}tar -jxvf apache-VCL-2.2.1-incubating.tar.bz2{tip}
{tip}/sbin/chkconfig --level 345 mysqld on{tip}
{tip}/sbin/service mysqld start{tip}
configured to allow traffic from the web server and management node servers to connect to the MySQL daemon TCP port: 3306. See the firewall documentation for more information. {info}man iptables{info}
{tip}CREATE DATABASE vcl;{tip}
TABLES privileges on the database you just created: {tip}GRANT SELECT,INSERT,UPDATE,DELETE,CREATE TEMPORARY TABLES ON vcl.* TO ‘vcluser’@‘localhost’ IDENTIFIED BY ‘vcluserpassword’;{tip} {note}Replace vcluser and vcluserpassword with that of the user you want to use to connect to the database{note} {info}The GRANT command will automatically create the user if it doesn't already exist{info}
{tip}mysql vcl < apache-VCL-2.2.1-incubating/mysql/vcl.sql{tip} {info}The vcl.sql file is included in the mysql directory within the Apache VCL source code{info}
Next step: VCL:VCL 2.2.1 Web Code Installation