Error

An error occurred.

Sorry, the page you are looking for is currently unavailable.
Please try again later.

If you are the system administrator of this resource then you should check the error log for details.

Faithfully yours, nginx.

帮助文档(华北一、二)

  • 创建两个数据库ssm_crud_test和ssm_crud_pro,作为测试环境和生产环境的数据库,并初始化表,具体SQL如下(把下面的SQL直接Shift+Insert快捷键,复制到控制台中执行,最后按回车执行最后一条命令):

    CREATE DATABASE IF NOT EXISTS ssm_crud_test DEFAULT CHARSET utf8 COLLATE utf8_general_ci;

    CREATE DATABASE IF NOT EXISTS ssm_crud_pro DEFAULT CHARSET utf8 COLLATE utf8_general_ci;

    use ssm_crud_test;

    CREATE TABLE `tbl_emp` (

      `emp_id` int(11) NOT NULL AUTO_INCREMENT,

      `emp_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,

      `gender` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,

      `email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,

      `d_id` int(11) DEFAULT NULL,

      PRIMARY KEY (`emp_id`)

    ) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

    use ssm_crud_pro;

    CREATE TABLE `tbl_emp` (

      `emp_id` int(11) NOT NULL AUTO_INCREMENT,

      `emp_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,

      `gender` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,

      `email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,

      `d_id` int(11) DEFAULT NULL,

      PRIMARY KEY (`emp_id`)

    ) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;


文档是否已解决您的问题?

  已解决   未解决

如您有其它疑问,您也可以与我们技术专家联系探讨。

联系技术专家