public class MiniAdmin
extends java.lang.Object
| Constructor and Description |
|---|
MiniAdmin(java.sql.Connection conn)
Create a new MiniAdmin using the given connection
|
MiniAdmin(java.lang.String jdbcUrl)
Create a new MiniAdmin, connecting using the given JDBC URL.
|
MiniAdmin(java.lang.String jdbcUrl,
java.util.Properties props)
Create a new MiniAdmin, connecting using the given JDBC URL and
properties
|
| Modifier and Type | Method and Description |
|---|---|
void |
shutdown()
Shuts down the MySQL server at the other end of the connection that this
MiniAdmin was created from/for.
|
public MiniAdmin(java.sql.Connection conn)
throws java.sql.SQLException
conn - the existing connection to use.java.sql.SQLException - if an error occurspublic MiniAdmin(java.lang.String jdbcUrl)
throws java.sql.SQLException
jdbcUrl - the JDBC URL to usejava.sql.SQLException - if an error occurspublic MiniAdmin(java.lang.String jdbcUrl,
java.util.Properties props)
throws java.sql.SQLException
jdbcUrl - the JDBC URL to useprops - the properties to use when connectingjava.sql.SQLException - if an error occurs