$Id: example_instructions.txt 5 2006-03-12 19:37:28Z jrmarino $ EXAMPLE INSTRUCTIONS - By John Marino ====================================== As of March 12, 2006, Pascal Data Objects (PDO) only supports MySQL 4.0, 4.1, and 5.0. If you have Free Pascal 2.0 or Delphi, you can use this database interface layer. Step 1: Create a database called "pdo_test" in mysql. Step 2: Create a user called "pdo_user" with a password of "pdo". step 3: Give "pdo_user" the full priviledges to the "pdo_test" database step 4: Import the "nfl_teams.sql" file into the "pdo_test" database IF you are using windows and Delphi: If you have MySQL 4.0, you can only run the "example_D7_mysql40.dpr" example. If you have MySQL 4.1 or greater, you can also run the "example_D7_mysql50.dpr" example Just double-click on the file to launch delphi and compile. It's a console application, so you will need to open a command window to run it and see the output. IF you are using windows and Free Pascal 2.0: If you have MySQL 4.0, you can only run the "example_fpc_win32_mysql40.pas" example. If you have MySQL 4.1 or greater, you can also run the "example_fpc_win32_mysql50.pas" example Launch Free Pascal Compiler, load the file and compile. It's a console application, so you will need to open a command window to run it and see the output. IF you are using FreeBSD and Free Pascal 2.0: If you have MySQL 4.0, you can only run the "example_fpc_freebsd_mysql40.pas" example. If you have MySQL 4.1 or greater, you can also run the "example_fpc_freebsd_mysql50.pas" example Launch Free Pascal Compiler, load the file and compile. It's a console application, so you will need to open a command window to run it and see the output. The Wiki/Manual for PDO is located at https://trac.synsport.com:8000/index.php/pdo When you get an http authentication box, just use guest/guest as the user name and password. Thanks, I hope this code is useful to you. John Marino www.synsport.com www.marino.st