- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
It is recommended that for Cloud SQL Instances, you set the skip_show_database
database flag to ON
.
The skip_show_database
database flag prevents people from using the SHOW DATABASES
statement if they do not have the SHOW DATABASES
privilege. This can improve security if
you have concerns about users being able to see databases belonging to other users. The skip_show_database
flag’s effect depends on the SHOW DATABASES
privilege: If the variable value is ON
, the SHOW DATABASES
statement is permitted only for users who have the SHOW DATABASES
privilege, and the statement displays all database names. If the value is OFF
, SHOW DATABASES
is permitted for all users, but displays the names of only those databases for
which the user has SHOW DATABASES
or other privilege. This recommendation is
applicable to MySQL database instances.
skip_show_database
from the drop-down menu, and set its value to ON
.To list all Cloud SQL database Instances, run:
gcloud sql instances list
Configure the skip_show_database
database flag for every Cloud SQL MySQL database instance using the following command:
gcloud sql instances patch INSTANCE_NAME --database-flags
skip_show_database=on
Note: This command overwrites all database flags previously set. To keep the previously set flags and add new ones, include the values for all flags you want set on the instance; any flag not specifically included is set to its default value. For flags that do not take a value, specify the flag name followed by an equals sign (=
).
Warning: This patch modifies database flag values, which may require your instance to be restarted. Check the list of supported flags to see if your instance will be restarted when this patch is submitted.
Note: Some database flag settings can affect instance availability or stability, and remove the instance from the Cloud SQL SLA. For information about these flags, see Operational Guidelines.
Note: Configuring the above flag restarts the Cloud SQL instance.
Version 8, 3.3 - Configure Data Access Control Lists
Configure data access control lists based on a user’s need to know. Apply data access control lists, also known as access permissions, to local and remote file systems, databases, and applications.