|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.loadbang.sql.Database
net.loadbang.sql.MySQL_DB
public class MySQL_DB
A connection to a MySQL database.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class net.loadbang.sql.Database |
|---|
Database.ConnectionCallback<T> |
| Constructor Summary | |
|---|---|
MySQL_DB(java.lang.String host,
java.lang.String database,
java.lang.String user,
java.lang.String password)
Constructor. |
|
| Method Summary |
|---|
| Methods inherited from class net.loadbang.sql.Database |
|---|
close, open, query, update, withConnection |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MySQL_DB(java.lang.String host,
java.lang.String database,
java.lang.String user,
java.lang.String password)
throws SetupException
host - the host running MySQLdatabase - the database name within MySQLuser - the database userpassword - the user's password
SetupException - if there is a problem setting up the driver
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||