Browse Source

Fix MYSQLUSER/PASS Variables

old-stable
Mitesh Shah 12 years ago
parent
commit
85dbe1fabb
  1. 4
      usr/local/sbin/easyengine

4
usr/local/sbin/easyengine

@ -633,8 +633,8 @@ REMOVEDB()
{
# MySQL Informatiom
WPDBNAME=$(grep DB_NAME /var/www/$DOMAIN/wp-config.php | cut -d"'" -f4)
MYSQLUSER=$(grep DB_USER /var/www/mitesh.com/wp-config.php | cut -d"'" -f4)
MYSQLPASS=$(grep DB_PASS /var/www/mitesh.com/wp-config.php | cut -d"'" -f4)
MYSQLUSER=$(grep DB_USER /var/www/$DOMAIN/wp-config.php | cut -d"'" -f4)
MYSQLPASS=$(grep DB_PASS /var/www/$DOMAIN/wp-config.php | cut -d"'" -f4)
echo -e " WPDBNAME = $WPDBNAME \n MYSQLUSER = $MYSQLUSER \n MYSQLPASS = $MYSQLPASS"
# Remove Database

Loading…
Cancel
Save