home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 November / Chip_1998-11_cd.bin / tema / Cafe / ddetour.bin / createdb.txt < prev    next >
Text File  |  1998-03-11  |  3KB  |  58 lines

  1. =====================================================================
  2. ==========createdb.txt===============================================
  3.  
  4. This file describes the procedures for setting up the database for 
  5. the Tour for the Visual Cafe Database Development Edition. 
  6.  
  7. Contents:
  8.   I.  Installing the database.
  9.  II.  Setting up the data source.
  10.  
  11. The Visual Cafe Tour uses a Sybase SQL Anywhere database called 
  12. tutorial.db.  When you install Visual Cafe, the tutorial.db file is 
  13. placed in the \Tour subdirectory of your Visual Cafe installation.
  14. To use this database, you must install the SQL Anywhere engine and 
  15. set up a data source.
  16.  
  17. =====================================================================
  18.   I.  Installing the database. 
  19.  
  20. To install the database engine:
  21.  
  22.  1. Insert the Visual Cafe CD into your CD-ROM drive. 
  23.     Normally, this will start the install program.
  24.  2. If step 1 didnÆt start the install program, run Setup.exe.
  25.  3. Click on Sybase SQL Anywhere to launch the installer. 
  26.     **When installing Sybase SQL Anywhere, it is advisable to use 
  27.       the default settings offered by the installer and let the 
  28.       installer update the registry for you.
  29.  4. Reboot the computer.
  30.  
  31. =====================================================================
  32.  II.  Setting up the data source. 
  33.  
  34. To set up a data source for the Tour database: 
  35.  
  36.  1. Place the tutorial.db file in a directory that is accessible 
  37.     by dbANYWHERE.  For example, you could leave it in the \Tour 
  38.     directory or move it to the SQL Anywhere directory. 
  39.  2. Launch the ODBC Administrator utility from the Windows Control 
  40.     Panel. 
  41.  3. Click Add to display the Add Data Source dialog box. 
  42.  4. Select the [Sybase SQL Anywhere 5.0] driver and click OK. 
  43.     This displays the ODBC Configuration dialog box. 
  44.  5. Click Browse to navigate to the tutorial.db file, select 
  45.     tutorial.db, and click Open. 
  46.     The Data Source Name and Database Name fields are automatically 
  47.     populated with the name of the database file (Tutorial). 
  48.  6. Type these values in the following fields:
  49.       User ID:   dba
  50.       Password:  sql
  51.  7. Click OK to add the data source to your ODBC configuration. 
  52.  8. Click Close to dismiss the Data Sources utility.
  53.  
  54. =====================================================================
  55. After you have performed the procedures outlined above, launch 
  56. Visual Cafe and dbANYWHERE.  You're ready to take the Tour.
  57. =====================================================================
  58.