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