|
@@ -1198,7 +1198,8 @@ def validate_database():
|
|
|
except Exception, ex:
|
|
except Exception, ex:
|
|
|
LOG.exception("Error in config validation of MYSQL_STORAGE_ENGINE: %s", ex)
|
|
LOG.exception("Error in config validation of MYSQL_STORAGE_ENGINE: %s", ex)
|
|
|
elif 'sqlite' in connection.vendor:
|
|
elif 'sqlite' in connection.vendor:
|
|
|
- res.append(('SQLITE_NOT_FOR_PRODUCTION_USE', unicode(_('SQLite is only recommended for small development environments with a few users.'))))
|
|
|
|
|
|
|
+ res.append(('SQLITE_NOT_FOR_PRODUCTION_USE', unicode(_('SQLite is only recommended for development environments. '
|
|
|
|
|
+ 'It might cause the "Database is locked" error. Migrating to MySQL, Oracle or PostgreSQL is strongly recommended.'))))
|
|
|
return res
|
|
return res
|
|
|
|
|
|
|
|
|
|
|