1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/phpmyadmin_ynh.git synced 2024-09-03 19:56:46 +02:00

Merge pull request #42 from Josue-T/patch-1

SQL files have moved
This commit is contained in:
julienmalik 2016-03-02 12:06:15 +01:00
commit 97df332711

View file

@ -37,7 +37,7 @@ cookie_pwd=$(dd if=/dev/urandom bs=1 count=200 2> /dev/null | tr -c -d 'A-Za-z0-
sed -i "s@YNH_PMA_USER@$db_user@g" ../conf/create_db.sql
sudo yunohost app initdb $db_user -p $db_pwd
mysql -u root -p$(sudo cat /etc/yunohost/mysql) < ../conf/create_db.sql
mysql -u $db_user -p$db_pwd < $final_path/examples/create_tables.sql
mysql -u $db_user -p$db_pwd < $final_path/sql/create_tables.sql
sudo yunohost app setting phpmyadmin mysqlpwd -v $db_pwd
# Configuration