SQL1001N is not a valid database name. SQLSTATE=2E000

惠特曼

关注

阅读 175

2022-10-16

$ db2 create db hcba_appstore using codeset UTF-8 territory CN COLLATE USING SYSTEM
出现错误
SQL1001N "hcba_appstore" is not a valid database name. SQLSTATE=2E000

发现问题竟然是
数据库名称不能超过8位

改成
$ db2 create db appstore using codeset UTF-8 territory CN COLLATE USING SYSTEM
执行成功

相关推荐

精彩评论(0)

0 0 举报