Learn R Programming

compendiumdb (version 1.0.3)

loadDatabaseSchema: Load the compendium database schema

Description

Load a database schema file to the compendium database in the MySQL server

Usage

loadDatabaseSchema(con, updateSchema = FALSE , file = "")

Arguments

con
list containing a connection object specifying the user name and password to connect or interact with the compendium database (see connectDatabase)
updateSchema
logical, default value is FALSE
file
character string, default value is "". In this case the compendiaSchema.sql database schema provided with the package is loaded.

Details

See http://wiki.bioinformaticslaboratory.nl/foswiki/bin/view/BioLab/CompendiumDB for a detailed description of the database schema.

See Also

connectDatabase

Examples

Run this code
 ## Not run: 
#   conn <- connectDatabase(user="usrname",password="passwd",dbname="compendium")
#   loadDatabaseSchema(conn,updateSchema=TRUE)
#  ## End(Not run)

Run the code above in your browser using DataLab