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

Correction of typo

This commit is contained in:
polytan02 2017-02-15 00:09:27 +00:00
parent 4deaa42b1c
commit 2008ab8231

View file

@ -58,7 +58,7 @@ CHECK_VAR "$db_pwd" "db_pwd empty"
ynh_mysql_create_db "$db_user" "$db_user" $db_pwd ynh_mysql_create_db "$db_user" "$db_user" $db_pwd
ynh_app_setting_set $app db_pwd $db_pwd ynh_app_setting_set $app db_pwd $db_pwd
ynh_app_setting_set $app db_user $db_user ynh_app_setting_set $app db_user $db_user
sed -i "s@DBTOCHANGE@$db_user@g" ../conf/config.php sed -i "s@YNH_PMA_USER@$db_user@g" ../conf/config.php.inc
sudo mysql -u root -p$(sudo cat /etc/yunohost/mysql) < ../conf/create_db.sql sudo mysql -u root -p$(sudo cat /etc/yunohost/mysql) < ../conf/create_db.sql
sudo mysql -u $db_user -p$db_pwd < $final_path/sql/create_tables.sql sudo mysql -u $db_user -p$db_pwd < $final_path/sql/create_tables.sql