mirror of
https://github.com/YunoHost-Apps/phpmyadmin_ynh.git
synced 2024-09-03 19:56:46 +02:00
commit
97df332711
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue