com.googlecode.jdbw.server.mysql
Class MySQLServer

java.lang.Object
  extended by com.googlecode.jdbw.server.AbstractDatabaseServer
      extended by com.googlecode.jdbw.server.StandardDatabaseServer
          extended by com.googlecode.jdbw.server.mysql.MySQLServer
All Implemented Interfaces:
DatabaseServer, MultiCatalogDatabaseServer, NetworkDatabaseServer, UserAuthenticatedDatabaseServer

public class MySQLServer
extends StandardDatabaseServer

This class represents a MySQL database server that is connected to over a TCP/IP network.

Author:
Martin Berglund

Constructor Summary
MySQLServer(JDBCDriverDescriptor driverDescriptor, String hostname, int port, String catalog, String username, String password)
           
MySQLServer(String hostname, int port, String catalog, String username, String password)
           
 
Method Summary
protected  Properties getConnectionProperties()
           
 DatabaseServerType getServerType()
           
 
Methods inherited from class com.googlecode.jdbw.server.StandardDatabaseServer
equals, getDefaultCatalog, getHostname, getJDBCUrl, getPassword, getPort, getUsername, hashCode, toString
 
Methods inherited from class com.googlecode.jdbw.server.AbstractDatabaseServer
connect, getDriverDescriptor, setConnectionProperty, testConnection
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.googlecode.jdbw.DatabaseServer
connect, setConnectionProperty, testConnection
 

Constructor Detail

MySQLServer

public MySQLServer(String hostname,
                   int port,
                   String catalog,
                   String username,
                   String password)

MySQLServer

public MySQLServer(JDBCDriverDescriptor driverDescriptor,
                   String hostname,
                   int port,
                   String catalog,
                   String username,
                   String password)
Method Detail

getServerType

public DatabaseServerType getServerType()
Returns:
Type of the server

getConnectionProperties

protected Properties getConnectionProperties()
Overrides:
getConnectionProperties in class AbstractDatabaseServer


Copyright © 2012. All Rights Reserved.