doudg60800 2018-05-24 09:03
浏览 196
已采纳

PHP - DB2许可证文件位置

I'm running an XAMPP server for my PHP app and I would like to connect to a zOS DB2 table. I receive license error. I can connect a non-zOS DB2 DB so DB2 functions work. The error message I receive is:

An attempt to connect to the database server failed because of a licensing problem. SQLSTATE=42968 SQLCODE=-1598

My license file is db2consv.lic

Where do I have to copy this lic to take effect?

  • 写回答

1条回答 默认 最新

  • douqie3391 2018-05-24 09:13
    关注

    Procedure for DB2 license registration:

    On Windows operating systems, register a Db2® license certificate file by entering the following command:

    db2install_path\bin\db2licm -a filename

    where db2install_path is the Db2 installation path, filename is the full path name and file name for the license certificate file that corresponds to the product or offering you have purchased.

    On Linux or UNIXoperating systems, register a Db2 license certificate file by entering the following command:

    INSTHOME/sqllib/adm/db2licm -a filename

    where INSTHOME represents the home directory of the instance owner, filename is the full path name and file name for the license certificate file that corresponds to the product or Db2 offering you have purchased.

    The db2licm command can also be found in the path where the Db2 database product is installed.

    For example, /opt/IBM/db2/V11.1/adm on AIX®, HP-UX or Solaris operating systems or /opt/ibm/db2/V11.1/adm on Linux operating systems, if you use the default installation directory.

    Example

    On Linux, to register the IBM® Db2 BLU Acceleration In-Memory Offering, run this db2licm command:

    /opt/IBM/db2/V11.1/adm/db2licm -a db2baf.lic

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 树莓派与pix飞控通信
  • ¥15 自动转发微信群信息到另外一个微信群
  • ¥15 outlook无法配置成功
  • ¥30 这是哪个作者做的宝宝起名网站
  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题