java.lang.Object
net.sacredlabyrinth.phaed.simpleclans.storage.MySQLCore
All Implemented Interfaces:
DBCore

public class MySQLCore extends Object implements DBCore
Author:
cc_madelg
  • Constructor Details

    • MySQLCore

      public MySQLCore(String host, String database, int port, String username, String password)
      Parameters:
      host - The host
      database - The database
      username - The username
      password - The password
  • Method Details

    • getConnection

      public Connection getConnection()
      Specified by:
      getConnection in interface DBCore
      Returns:
      connection
    • close

      public void close()
      Description copied from interface: DBCore
      Close connection
      Specified by:
      close in interface DBCore