NAME

delcourse - delete a course

SYNOPSIS

 delcourse [options] COURSEID

DESCRIPTION

Delete a course, including its database and course directory.

OPTIONS

COURSEID

The name of the course to delete.

If the course's database layout is sql, the following options are valid:

--sql-host=HOST

Specifies the hostname of the SQL server on the course database resides. If not specified, the default for your RDBMS will be used.

--sql-port=PORT

Specifies the port of the SQL server on the course database resides. If not specified, the default for your RDBMS will be used.

--sql-user=USER

Specifies the username to use when connecting to the SQL server to delete the course database. This user must have CREATE, DELETE, FILE, INSERT, SELECT, and UPDATE privileges, WITH GRANT OPTION.

--sql-pass=PASS

Specifies the password to use when connecting to the SQL server.

--sql-db=DBNAME

Specifies the name of the database to delete. (This is usually ``webwork_COURSENAME'', but can be overridden by changing the database layout in global.conf.)

AUTHOR

Written by Sam Hathaway, hathaway at users.sourceforge.net.