Install & Configure phpMyAdmin (Optional)

phpMyAdmin is a free and optional tool which allows MySQL to be administered using a web browser. It makes administering the VCL database easier. This tool can be installed on the VCL web server.

  1. Download phpMyAdmin
    1. Check the version of PHP installed on the web server:

      php -v

      • Use phpMyAdmin 2.x if the version of PHP is 3.x or 4.x:
        PHP 4.3.2 (cgi), Copyright (c) 1997-2003 The PHP Group
      • Use phpMyAdmin 3.x if the version of PHP is 5.x:
        PHP 5.1.6 (cli) (built: Jul 16 2008 19:52:52)
    2. Download the appropriate version of phpMyAdmin from:
  2. Extract the phpMyAdmin package:

    tar -xzf phpMyAdmin-

  3. Move the phpMyAdmin directory to the web server directory:

    mv phpMyAdmin- /var/www/html/phpmyadmin

  4. Follow the installation instructions in: /var/www/html/phpmyadmin/Documentation.txt

    The instructions must be followed in order to secure phpMyAdmin

    If you receive 403-Forbidden errors after installing phpMyAdmin, the problem is likely caused by SELinux. Run the following command to correct the problem:
    chcon -R -t httpd_sys_content_t /var/www/html/phpmyadmin

  5. Configure the phpMyAdmin-VCL Table relationships:
    The phpmyadmin.sql file is provided in the mysql directory in the Apache VCL source code. It will add entries to the pma_table_info table in the phpmyadmin database. These entries cause corresponding information to be displayed when you hover over a value in the VCL database.
    Import the SQL file into the phpmyadmin database:

    mysql phpmyadmin < mysql/phpmyadmin.sql

  • No labels