马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?站点注册
×
The PowerBuilder demo applications and database are installed by default, unless you de-selected the PowerBuilder Tutorial, Demo Database, and Code Examples components during installation. But before you can successfully run the downloaded demo application, you will need to set up an ODBC data source to connect with the demo database. To set up the ODBC data source with the SQL Anywhere demo database, Install SQL Anywhere 17. Create the ODBC data source that includes the following settings. Data Source Name: PB Demo DB V2021 User ID: dba Password: sql Action: Start and connect to a database on this computer Database file: [path to the database file] Database name: pbdemo2021 Server name: PBDemoDB2021 Start line: [path to the SQL Anywhere engine]
To set up the ODBC data source with the PostgreSQL demo database, Install PostgreSQL 12 and PostgreSQL ODBC driver (32-bit). Make sure the Command Line Tools component is selected during the PostgreSQL 12 installation. Restore the PostgreSQL demo database file. For example, "C:\Program Files\PostgreSQL\12\bin\pg_restore" --host=127.0.0.1 --port=5432 --username="postgres" --clean --if-exists --dbname=PBDemo --verbose "C:\DB\pbpostgres2021.dmp"Create the ODBC data source that includes the following settings. Data Source: PB Postgres V2021 Database: PBDemo Server: [IP address for the database] Username: [user name for the database, postgres, by default] Port: [port number for the database, 5432, by default] Password: [password for the database, postgres, for example]
from:
https://docs.appeon.com/pb2021/installation_guide_for_pb/Installing_PowerBuilder_demo_applications_and_database.html
PB2021配套DEMO用PowerBuilder-Project-Example-Database
https://www.sybasebbs.com/forum. ... 89984&fromuid=6
(出处: SAP SYBASE论坛中文社区技术服务)
|