Browse Source

add phpmyadmin sql setup.

Nathaniel van Diepen 9 years ago
parent
commit
e118ab89fb
1 changed files with 5 additions and 1 deletions
  1. 5 1
      install.sh

+ 5 - 1
install.sh

@@ -154,4 +154,8 @@ sublog "hosts";
 host omnimaga.org;
 host www.omnimaga.org;
 host pma.omnimaga.org;
-echo -e $HOSTS > /etc/hosts;
+echo -e $HOSTS > /etc/hosts;
+sublog "phpmyadmin";
+echo -n "root@localhost mysql pass:";
+read -s pass;
+cat /var/www/phpmyadmin/examples/create_tables.sql | mysql -u root -p "$pass";