# 03-Connect_Single-task

> This sample opens and connects to a database from a single task. The application simply demonstrates the use of functions `mco_db_connect()` and `mco_db_disconnect()`.

### How to Run

> See instructions here on how to build this and other samples on your development platform. Once built, the sample can be run from the `\target\bin` directory:

>         03_connect_single_task

> But it is more instructive to run it in your development environment debugger, stepping through the code.

> Related Topics