diff --git a/application/install/controller/Index.php b/application/install/controller/Index.php index de4f627e4dbc0e133346457db008f49043728222..1aefb79a64398b200720538d4e6ce8c171f9197c 100644 --- a/application/install/controller/Index.php +++ b/application/install/controller/Index.php @@ -357,7 +357,7 @@ php; new \base\Behavior(['msg'=>'查询数据库版本失败']); return DataReturn('查询数据库版本失败', -1); } else { - if($data[0]['version'] < 5.0) + if($data[0]['version'] < 5.6) { new \base\Behavior(['msg'=>'数据库版本过低', 'mysql_version'=>$data[0]['version']]); return DataReturn('数据库版本过低', -1); diff --git a/application/install/view/index/create.html b/application/install/view/index/create.html index a35cb63b126d964e7bc0bba000542e646d730495..43b43e068b7eb0e0d9872f058f3ffa7f128b4f9f 100644 --- a/application/install/view/index/create.html +++ b/application/install/view/index/create.html @@ -6,6 +6,11 @@

数据库信息

+
+ +

MySQL需 5.6 及以上版本

+

编码格式为 utf8mb4 / utf8mb4_general_ci

+