diff --git a/scripts/bootstrap.py b/scripts/bootstrap.py index 4231ec6e..0ff12457 100755 --- a/scripts/bootstrap.py +++ b/scripts/bootstrap.py @@ -124,7 +124,7 @@ def init_seafile_server(): 'SERVER_IP': get_conf('SEAFILE_SERVER_HOSTNAME', 'seafile.example.com'), 'MYSQL_USER': 'seafile', 'MYSQL_USER_PASSWD': str(uuid.uuid4()), - 'MYSQL_USER_HOST': '%.%.%.%', + 'MYSQL_USER_HOST': '%', 'MYSQL_HOST': get_conf('DB_HOST','127.0.0.1'), # Default MariaDB root user has empty password and can only connect from localhost. 'MYSQL_ROOT_PASSWD': get_conf('DB_ROOT_PASSWD', ''), diff --git a/scripts_7.1/bootstrap.py b/scripts_7.1/bootstrap.py index 7bad6744..be6711d4 100755 --- a/scripts_7.1/bootstrap.py +++ b/scripts_7.1/bootstrap.py @@ -124,7 +124,7 @@ def init_seafile_server(): 'SERVER_IP': get_conf('SEAFILE_SERVER_HOSTNAME', 'seafile.example.com'), 'MYSQL_USER': 'seafile', 'MYSQL_USER_PASSWD': str(uuid.uuid4()), - 'MYSQL_USER_HOST': '%.%.%.%', + 'MYSQL_USER_HOST': '%', 'MYSQL_HOST': get_conf('DB_HOST','127.0.0.1'), # Default MariaDB root user has empty password and can only connect from localhost. 'MYSQL_ROOT_PASSWD': get_conf('DB_ROOT_PASSWD', ''), diff --git a/scripts_8.0/bootstrap.py b/scripts_8.0/bootstrap.py index 164035a5..a998e9fc 100755 --- a/scripts_8.0/bootstrap.py +++ b/scripts_8.0/bootstrap.py @@ -133,7 +133,7 @@ def init_seafile_server(): 'SERVER_IP': get_conf('SEAFILE_SERVER_HOSTNAME', 'seafile.example.com'), 'MYSQL_USER': 'seafile', 'MYSQL_USER_PASSWD': str(uuid.uuid4()), - 'MYSQL_USER_HOST': '%.%.%.%', + 'MYSQL_USER_HOST': '%', 'MYSQL_HOST': get_conf('DB_HOST','127.0.0.1'), # Default MariaDB root user has empty password and can only connect from localhost. 'MYSQL_ROOT_PASSWD': get_conf('DB_ROOT_PASSWD', ''), diff --git a/scripts_9.0/bootstrap.py b/scripts_9.0/bootstrap.py index a6661aff..46fa44aa 100755 --- a/scripts_9.0/bootstrap.py +++ b/scripts_9.0/bootstrap.py @@ -133,7 +133,7 @@ def init_seafile_server(): 'SERVER_IP': get_conf('SEAFILE_SERVER_HOSTNAME', 'seafile.example.com'), 'MYSQL_USER': 'seafile', 'MYSQL_USER_PASSWD': str(uuid.uuid4()), - 'MYSQL_USER_HOST': '%.%.%.%', + 'MYSQL_USER_HOST': '%', 'MYSQL_HOST': get_conf('DB_HOST','127.0.0.1'), # Default MariaDB root user has empty password and can only connect from localhost. 'MYSQL_ROOT_PASSWD': get_conf('DB_ROOT_PASSWD', ''),