First of all:

1) MySql
   * read MySql manuals
   * test connection before to start with this test
   * create a catalog
   * create a user and grant the privileges

2) ODBC
   * you must install ODBC driver on your PC, where you run programs

3) Test programs
   * mainp000.prg is menu and connect the database
   * mainp001.prg is a simple table creation function
   * mainp002.prg is a simple records maintenance
   * mainp003.prg is a simple records selection