网站首页 > API接口说明 > 虚拟主机申请及管理接口说明
API接口说明
18. 增购主机搭配的Mysql数据库空间(针对新主机)
18. 增购主机搭配的Mysql数据库空间(针对新主机)
格式
vhost<crlf>
add<crlf>
entityname:extmysqldbspace<crlf>
product_type:protype<crlf> #诸如 WHWCM01等
sitename:sitename<crlf> #目前和ftpaccount相同
extnum:extnum<crlf> #增购连接数大小,必须是 100 的倍数,如 100 就是 增购100MB.
dbname:dbname #增购数据库空间的数据库名,以WHW或WHL开头的新主机产品号必填此参数
.<crlf>
返回
成功:
200 Command completed successfully<crlf>
dbspacenum:dbspace<crlf> #这站点当前的数据库空间大小
.<crlf>
缺少属性:
504 Missing required attribute<crlf>
Message: Missing Attribute [缺少的必要的属性名称]<crlf>
.<crlf>
非法的命令: 如果开头不是以vhost<crlf>add<crlf>entityname:extdbspace<crlf>(或以后的其它命令)开始
500 Invalid command name<crlf>
.<crlf>
系统忙:
521 System is busy, try again later<crlf>
.<crlf>
帐上金额不足:
402 There is not enough money in account<crlf>
.<crlf>
增购数据库空间大小不是 100 的倍数
511 The extdbspace must be multiple of 100<crlf>
.<crlf>
格式
vhost<crlf>
add<crlf>
entityname:extmysqldbspace<crlf>
product_type:protype<crlf> #诸如 WHWCM01等
sitename:sitename<crlf> #目前和ftpaccount相同
extnum:extnum<crlf> #增购连接数大小,必须是 100 的倍数,如 100 就是 增购100MB.
dbname:dbname #增购数据库空间的数据库名,以WHW或WHL开头的新主机产品号必填此参数
.<crlf>
返回
成功:
200 Command completed successfully<crlf>
dbspacenum:dbspace<crlf> #这站点当前的数据库空间大小
.<crlf>
缺少属性:
504 Missing required attribute<crlf>
Message: Missing Attribute [缺少的必要的属性名称]<crlf>
.<crlf>
非法的命令: 如果开头不是以vhost<crlf>add<crlf>entityname:extdbspace<crlf>(或以后的其它命令)开始
500 Invalid command name<crlf>
.<crlf>
系统忙:
521 System is busy, try again later<crlf>
.<crlf>
帐上金额不足:
402 There is not enough money in account<crlf>
.<crlf>
增购数据库空间大小不是 100 的倍数
511 The extdbspace must be multiple of 100<crlf>
.<crlf>