mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:59:25 +08:00
up
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
[mysqld]
|
||||
# SHOW GLOBAL VARIABLES LIKE '%gtid%'
|
||||
gtid_mode=ON
|
||||
enforce_gtid_consistency=ON
|
||||
@@ -6,6 +6,8 @@ socket = {$SERVER_APP_PATH}/mysql.sock
|
||||
default-character-set = UTF8MB4
|
||||
|
||||
[mysqld]
|
||||
!include {$SERVER_APP_PATH}/etc/mode/classic.cnf
|
||||
|
||||
pid-file = {$SERVER_APP_PATH}/data/mysql.pid
|
||||
user = mysql
|
||||
port = 33206
|
||||
|
||||
@@ -6,6 +6,8 @@ socket = {$SERVER_APP_PATH}/mysql.sock
|
||||
default-character-set = UTF8MB4
|
||||
|
||||
[mysqld]
|
||||
!include {$SERVER_APP_PATH}/etc/mode/classic.cnf
|
||||
|
||||
authentication_policy=mysql_native_password
|
||||
pid-file = {$SERVER_APP_PATH}/data/mysql.pid
|
||||
user = mysql
|
||||
|
||||
@@ -806,7 +806,14 @@ def installPreInspection(version):
|
||||
sysId = sys_id[0].strip()
|
||||
|
||||
if not sysName in ('debian', 'ubuntu'):
|
||||
return '暂时支持debian,ubuntu'
|
||||
return '仅支持debian,ubuntu'
|
||||
|
||||
if sysName == 'debian' and not sysId in('11', '10'):
|
||||
return 'debian支持10,11'
|
||||
|
||||
if sysName == 'ubuntu' and not sysId in ('10'):
|
||||
return ''
|
||||
|
||||
return 'ok'
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user