mirror of
https://github.com/EngineGPDev/Autoinstall.git
synced 2025-01-18 22:02:22 +03:00
Fix MySQL
This commit is contained in:
parent
a1116eeaeb
commit
067a6e96c1
@ -479,9 +479,9 @@ EOF
|
||||
sudo rm /tmp/enginegp/enginegp.zip >> $logsINST 2>&1
|
||||
sudo rm -r /tmp/enginegp/EngineGP-* >> $logsINST 2>&1
|
||||
sed -i "s/IPADDR/$sysIP/g" /var/www/enginegp/system/data/config.php >> $logsINST 2>&1
|
||||
sed -i "s/enginegp/$dbEgpSQL/g" /var/www/enginegp/system/data/mysql.php >> $logsINST 2>&1
|
||||
sed -i "s/root/$usrEgpSQL/g" /var/www/enginegp/system/data/mysql.php >> $logsINST 2>&1
|
||||
sed -i "s/SQLPASS/$passEgpSQL/g" /var/www/enginegp/system/data/mysql.php >> $logsINST 2>&1
|
||||
sed -i "s/enginegp/$dbEgpSQL/g" /var/www/enginegp/system/data/mysql.php >> $logsINST 2>&1
|
||||
sed -i "s/ENGINEGPHASH/$usrEgpHASH/g" /var/www/enginegp/enginegp.sql >> $logsINST 2>&1
|
||||
mysql -u $usrEgpSQL -p$passEgpSQL $dbEgpSQL < /var/www/enginegp/enginegp.sql >> $logsINST 2>&1
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user