mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +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
|
default-character-set = UTF8MB4
|
||||||
|
|
||||||
[mysqld]
|
[mysqld]
|
||||||
|
!include {$SERVER_APP_PATH}/etc/mode/classic.cnf
|
||||||
|
|
||||||
pid-file = {$SERVER_APP_PATH}/data/mysql.pid
|
pid-file = {$SERVER_APP_PATH}/data/mysql.pid
|
||||||
user = mysql
|
user = mysql
|
||||||
port = 33206
|
port = 33206
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ socket = {$SERVER_APP_PATH}/mysql.sock
|
|||||||
default-character-set = UTF8MB4
|
default-character-set = UTF8MB4
|
||||||
|
|
||||||
[mysqld]
|
[mysqld]
|
||||||
|
!include {$SERVER_APP_PATH}/etc/mode/classic.cnf
|
||||||
|
|
||||||
authentication_policy=mysql_native_password
|
authentication_policy=mysql_native_password
|
||||||
pid-file = {$SERVER_APP_PATH}/data/mysql.pid
|
pid-file = {$SERVER_APP_PATH}/data/mysql.pid
|
||||||
user = mysql
|
user = mysql
|
||||||
|
|||||||
@@ -806,7 +806,14 @@ def installPreInspection(version):
|
|||||||
sysId = sys_id[0].strip()
|
sysId = sys_id[0].strip()
|
||||||
|
|
||||||
if not sysName in ('debian', 'ubuntu'):
|
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'
|
return 'ok'
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|||||||
Reference in New Issue
Block a user