public class MySQLSpecifics extends DBSpecifics
Constructor and Description |
---|
MySQLSpecifics() |
Modifier and Type | Method and Description |
---|---|
void |
backupDatabase(Connection c,
File backupDir)
Backup the database.
|
String |
getDriverClassName()
Get the name of the JDBC driver class that handles interfacing to this server.
|
void |
shutdownDatabase()
Shutdown the database system, if running in embedded mode.
|
getInstance
getInstance
public MySQLSpecifics()
public void shutdownDatabase()
DBSpecifics
Will log a warning on errors, but otherwise ignore them.
shutdownDatabase
in class DBSpecifics
public void backupDatabase(Connection c, File backupDir) throws SQLException, PermissionDenied
DBSpecifics
backupDatabase
in class DBSpecifics
c
- The connection to the database.backupDir
- Directory to which the database should be backed upSQLException
- On SQL trouble backing up databasePermissionDenied
- if the directory cannot be created.public String getDriverClassName()
DBSpecifics
getDriverClassName
in class DBSpecifics
Copyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.