祝愿大家身体健康!

 站点注册  找回密码
 站点注册

QQ登录

只需一步,快速开始

查看: 8125|回复: 1

[PB2017以后] PB2021Installing PowerBuilder demo applications and database

[复制链接]

[PB2017以后] PB2021Installing PowerBuilder demo applications and database

[复制链接]
ehxz

主题

0

回帖

58万

积分

管理员

积分
588431
贡献
在线时间
小时
2022-2-5 15:49:49 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?站点注册

×
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.
If the PowerBuilder demo applications and database are not installed during the PowerBuilder installation process, you can manually download the demo app source code and database from the Appeon website later: Example App, Example Graph App, Example Sales App and the SQL Anywhere database or PostgreSQL database file.
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]
    a1.png



    a2.png

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]
    a3.png



    a4.png
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论坛中文社区技术服务)

共享共进共赢Sharing And Win-win Results
SYBASEBBS - 免责申明1、欢迎访问“SYBASEBBS.COM”,本文内容及相关资源来源于网络,版权归版权方所有!本站原创内容版权归本站所有,请勿转载!
2、本文内容仅代表作者观点,不代表本站立场,作者自负,本站资源仅供学习研究,请勿非法使用,否则后果自负!请下载后24小时内删除!
3、本文内容,包括但不限于源码、文字、图片等,仅供参考。本站不对其安全性,正确性等作出保证。但本站会尽量审核会员发表的内容。
4、如本帖侵犯到任何版权问题,请立即告知本站 ,本站将及时删除并致以最深的歉意!客服邮箱:admin@sybasebbs.com
aloneinchina

主题

0

回帖

1万

积分

论坛元老

积分
18759
贡献
在线时间
小时
2022-2-7 10:48:36 | 显示全部楼层
谢谢分享
共享共进共赢Sharing And Win-win Results
您需要登录后才可以回帖 登录 | 站点注册

本版积分规则

免责声明:
本站所发布的一切破解补丁、注册机和注册信息及软件的解密分析文章仅限用于学习和研究目的;不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负。本站信息来自网络,版权争议与本站无关。您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容。如果您喜欢该程序,请支持正版软件,购买注册,得到更好的正版服务。如有侵权请邮件与我们联系处理。

Mail To:Admin@SybaseBbs.com

QQ|Archiver|PowerBuilder(PB)BBS社区 ( 鲁ICP备2021027222号-1 )

GMT+8, 2024-11-21 19:37 , Processed in 0.084440 second(s), 9 queries , MemCached On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表