In this lesson, you set up a SQL Anywhere consolidated database by creating it and defining an ODBC data source.
Click Start » Programs » SQL Anywhere 12 » Administration Tools » Sybase Central.
Click Tools » SQL Anywhere 12 » Create Database.
Click Next.
Leave the default of Create A Database On This Computer, and click Next.
In the Save The Main Database File To The Following File field, type the file name and path for the database. For example, c:\MLintro\MLconsolidated.db. Click Next.
Follow the remaining instructions in the Create Database Wizard and accept the default values. On the Connect To The Database page, clear the Stop Database After Last Disconnect option.
Click Finish.
The MLconsolidated database is created.
In the Creating Database window, click Close.
Click Tools » SQL Anywhere 12 » Open ODBC Administrator.
Click the User DSN tab, and click Add.
In the Create New Data Source window, click SQL Anywhere 12, and click Finish.
Perform the following tasks in the ODBC Configuration For SQL Anywhere window:
Click the ODBC tab.
In the Data Source Name field, type mlintro_consdb.
Click the Login tab.
In the Authentication dropdown list, leave the default of Database to connect using your user ID and password.
In the User ID field, type DBA.
In the Password field, type sql.
In the Action dropdown list, leave the default of Connect To A Running Database On This Computer.
In the Server Name field, type MLconsolidated.
Click OK.
Click OK to close the ODBC Data Source Administrator window.
Proceed to Lesson 2: Creating and populating a table in the MobiLink consolidated database.
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |