private static function createInstance()
 {
     if (!self::configIsReadable()) {
         die('MySQL configuration file is not readable.' . "\n");
     }
     include self::$CONFIG_FILE;
     try {
         self::$INSTANCE = new mysqli($host, $user, $passwd);
     } catch (Exception $ex) {
         die('Sorry, could not connect to database.');
     }
     if (!self::$INSTANCE->select_db($dbname)) {
         self::createDatabase($dbname);
     }
 }