host required

This commit is contained in:
Oliver
2012-12-09 15:29:30 +01:00
parent 15f9a07f51
commit e22117a0ba
+1 -1
View File
@@ -16,7 +16,7 @@
require($rootpath . 'lib/settings.inc.php'); require($rootpath . 'lib/settings.inc.php');
echo "importing data.sql ...\n"; echo "importing data.sql ...\n";
system('cat ' . $rootpath . 'doc/sql/static-data/data.sql | mysql -u' . $dbusername . ' --password=' . $dbpasswd . ' ' . $dbname); system('cat ' . $rootpath . 'doc/sql/static-data/data.sql | mysql -h' . $dbserver . ' -u' . $dbusername . ' --password=' . $dbpasswd . ' ' . $dbname);
echo "importing triggers ...\n"; echo "importing triggers ...\n";
chdir ($rootpath . 'doc/sql/stored-proc'); chdir ($rootpath . 'doc/sql/stored-proc');