I need to put my Drupal Site in offline/maintenance mode whence my SQL server is undergoing maintenance. I cant change the settings for offline mode in Drupal database because MYSQL would be inaccessible.
Any other method to do it?
Thanks in advance!
You could use htaccess (for Apache, or the equivalent in IIS Manager) to redirect to a non-drupal page during database maintenance, otherwise it will indeed show a database error even in "offline" mode, preferably a "302" type of redirect.