phpaga | {t}Installation: DB structure missing{/t}
{t}System{/t}: | {$smarty.const.PHPAGA_DB_SYSTEM} |
{t}Host{/t}: | {$smarty.const.PHPAGA_DB_HOST} |
{t}Database{/t}: | {$smarty.const.PHPAGA_DB_NAME} |
{t}Login{/t}: | {$smarty.const.PHPAGA_DB_LOGIN} |
{*
{t}Please install the database structure as detailed in the installation documentation, then klick on "Proceed".{/t}
{if ($smarty.const.PHPAGA_DB_SYSTEM == "pgsql") || ($smarty.const.PHPAGA_DB_SYSTEM == "mysql") }
cd {$smarty.const.PHPAGA_BASEPATH}sql/
{if ($smarty.const.PHPAGA_DB_SYSTEM == "pgsql")}
psql {if strlen($smarty.const.PHPAGA_DB_HOST)}-h {$smarty.const.PHPAGA_DB_HOST} {/if}-U {$smarty.const.PHPAGA_DB_LOGIN} {$smarty.const.PHPAGA_DB_NAME} < phpaga_postgresql.pgsql
{elseif ($smarty.const.PHPAGA_DB_SYSTEM == "mysql")}
mysql -u{$smarty.const.PHPAGA_DB_LOGIN} {if strlen($smarty.const.PHPAGA_DB_HOST)}-h {$smarty.const.PHPAGA_DB_HOST} {/if}-p {$smarty.const.PHPAGA_DB_NAME} < phpaga_tables.mysql
mysql -u{$smarty.const.PHPAGA_DB_LOGIN} {if strlen($smarty.const.PHPAGA_DB_HOST)}-h {$smarty.const.PHPAGA_DB_HOST} {/if}-p {$smarty.const.PHPAGA_DB_NAME} < phpaga_data.sql
mysql -u{$smarty.const.PHPAGA_DB_LOGIN} {if strlen($smarty.const.PHPAGA_DB_HOST)}-h {$smarty.const.PHPAGA_DB_HOST} {/if}-p {$smarty.const.PHPAGA_DB_NAME} < phpaga_sequences.mysql
{/if}
{/if}
*}
{t}Select "Proceed" to install the database structure and core data.{/t}