0
点赞
收藏
分享

微信扫一扫

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

$ 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 条评论