Skip to content

Commit 354708d

Browse files
committed
fix: 安装时避免判断数据库引擎
1 parent 74065cd commit 354708d

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,7 @@
2323
/docker-compose/MacArm/mysql/data/
2424
/docker-compose/MacArm/mysql/log/
2525
/docker-compose/linux/mysql/data/
26-
/docker-compose/linux/mysql/log/
26+
/docker-compose/linux/mysql/log/
27+
crmeb/.constant
28+
crmeb/.env
29+
crmeb/.version

crmeb/public/install/templates/step3.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -289,10 +289,10 @@ function checkForm() {
289289
$('#J_install_tip_dbname').html('<span for="dbname" generated="true" class="tips_error" >数据库链接配置失败</span>');
290290
return false;
291291
} else if (res == -2) {
292-
$('#J_install_tip_dbhost').html('');
293-
$('#J_install_tip_dbport').html('');
294-
$('#J_install_tip_dbname').html('<span for="dbname" generated="true" class="tips_error" >请在mysql配置文件修sql-mode或sql_mode为NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION</span><a href="https://doc.crmeb.com/web/single/crmeb_v4/936" target="_blank">查看文档</a>');
295-
return false;
292+
// $('#J_install_tip_dbhost').html('');
293+
// $('#J_install_tip_dbport').html('');
294+
// $('#J_install_tip_dbname').html('<span for="dbname" generated="true" class="tips_error" >请在mysql配置文件修sql-mode或sql_mode为NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION</span><a href="https://doc.crmeb.com/web/single/crmeb_v4/936" target="_blank">查看文档</a>');
295+
// return false;
296296
} else if (res == 1045) {
297297
$('#J_install_tip_dbhost').html('');
298298
$('#J_install_tip_dbport').html('');

0 commit comments

Comments
 (0)