In the Finder, locate the SQL Anywhere sample database. By default, it is located in /Applications/SQLAnywhere12/demo.db.
Copy this file to a location where you have read and write access, such as the Desktop.
In the Finder, double-click DBLauncher.
By default, DBLauncher is located at the following path: /Applications/SQLAnywhere12.
Start a new server.
In the Database field, browse to the location of the SQL Anywhere sample database. (For example, /Users/user-id/Desktop/demo.db.
In the Server Name field, type demo.
Select Local Server.
The Local Server option does not allow client/server communications over a network.
Click Start to start a personal database server named demo.
In the Finder, double-click Interactive SQL in /Applications/SQLAnywhere12.
Connect to the SQL Anywhere sample database.
From the Authentication dropdown list, choose Database.
In the User ID field, type DBA.
In the Password field, type sql.
From the Action dropdown list choose Connect To A Database On This Computer to connect to the database that is running on your computer.
In the Server Name field, type demo.
In the Database Name field, type demo.
Click Connect.
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |