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

SQL files have moved

This commit is contained in:
Josue-T 2016-03-02 11:39:08 +01:00
parent 744df155ec
commit b96002dada

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