public class MySQLDB extends SQLDB
actionsTable, commandUseTable, dataSource, ipsTable, killsTable, nicknamesTable, plugin, securityTable, serverTable, sessionsTable, tpsTable, userInfoTable, usersTable, versionTable, worldTable, worldTimesTable
Constructor and Description |
---|
MySQLDB(IPlan plugin)
Class Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Used to get the name of the database type.
|
void |
setupDataSource()
Setups the
BasicDataSource |
close, commit, getAllTables, getAllTablesInRemoveOrder, getConnection, getVersion, init, isNewDatabase, isOpen, removeAccount, removeAllData, rollback, scheduleClean, setAvailable, setupDatabase, setVersion, wasSeenBefore
getActionsTable, getCommandUse, getCommandUseTable, getConfigName, getDataSource, getIpsTable, getKillsTable, getNicknamesTable, getSavedUUIDs, getSecurityTable, getServerTable, getSessionsTable, getTpsTable, getUserInfoTable, getUsersTable, getWorldTable, getWorldTimesTable, isUsingMySQL
public MySQLDB(IPlan plugin)
plugin
- Current instance of Planpublic void setupDataSource() throws DatabaseInitException
BasicDataSource
setupDataSource
in class SQLDB
DatabaseInitException
Copyright © 2017. All rights reserved.