Connection to an LTPDA Repository uses the JDBC interface of the Database toolbox. The command utils.mysql.connect can be used to connect to a repository. It takes the following input arguments:
hostnameA hostname for the repository
dbnameA database name to connect to

You will then be prompted for a valid username and password. Here is an example call:


  >> conn = utils.mysql.connect('130.75.117.67', 'ltpda_test')
	** Connecting to 130.75.117.67 as john.doe...
	** Connection status:
	       DatabaseProductName: 'MySQL'
	    DatabaseProductVersion: '5.0.45'
	            JDBCDriverName: 'MySQL-AB JDBC Driver'
	         JDBCDriverVersion: [1x103 char]
	    MaxDatabaseConnections: 0
	           CurrentUserName: 'john.doe@130.75.117.67'
	               DatabaseURL: 'jdbc:mysql://130.75.117.67/ltpda_test'
	    AutoCommitTransactions: 'True'
	


The result is a database object which can be further used to interact with the repository.
To disconnect from the server, use the close method of the database class:
	>> close(conn)