Loading...
MySQL 9.5 Reference Manual 9.5의 8.6.1 MySQL Enterprise Encryption Installation and Upgrading의 한국어 번역본입니다.
아래의 경우에 피드백에서 신고해주신다면 반영하겠습니다.
감사합니다 :)
이 함수들은 MySQL component인 component_enterprise_encryption에 의해 제공되며, 이 component를 설치하면 모든 함수가 설치됩니다.
MySQL Enterprise Encryption 함수들은 MySQL component_enterprise_encryption component에 의해 제공됩니다. 업그레이드 정보는 Upgrading MySQL Enterprise Encryption를 참조하십시오.
MySQL 8.0.30 이전 릴리스에서 업그레이드하는 경우: component를 설치하기 전에, DROP FUNCTION statement를 사용하여 모든 레거시 함수들을 언로드하십시오:
1DROP FUNCTION asymmetric_decrypt; 2DROP FUNCTION asymmetric_derive; 3DROP FUNCTION asymmetric_encrypt; 4DROP FUNCTION asymmetric_sign; 5DROP FUNCTION asymmetric_verify; 6DROP FUNCTION create_asymmetric_priv_key; 7DROP FUNCTION create_asymmetric_pub_key; 8DROP FUNCTION create_dh_parameters; 9DROP FUNCTION create_digest;
함수 이름은 소문자로 지정해야 합니다. 이들 statement는 mysql 데이터베이스에 대한 DROP 권한이 필요합니다.
component를 설치하려면, 다음 INSTALL COMPONENT statement를 실행하십시오:
1INSTALL COMPONENT "file://component_enterprise_encryption";
INSTALL COMPONENT는 mysql.component 시스템 테이블에 row를 추가하여 component를 등록하므로, 해당 테이블에 대한 INSERT 권한이 필요합니다. component가 설치되었는지 확인하려면, 여기에 제시된 statement를 실행하십시오:
1SELECT * FROM mysql.component;
mysql.component에 나열된 component들은 스타트업 시퀀스 동안 로더 서비스에 의해 로드됩니다.
component를 언인스톨해야 하는 경우, UNINSTALL COMPONENT statement를 실행하십시오:
1UNINSTALL COMPONENT "file://component_enterprise_encryption";
component를 언인스톨하면 모든 함수도 언인스톨됩니다. 자세한 내용은 Section 7.5.1, “Installing and Uninstalling Components”를 참조하십시오.
참고
component를 설치하면 해당 component의 모든 함수가 설치되므로, 이전 릴리스의 MySQL에서처럼 CREATE FUNCTION statement를 사용하여 함수를 생성할 필요가 없습니다.
component를 설치한 후, component 함수가 레거시 함수에 의해 생성된 콘텐츠의 복호화와 검증을 지원하도록 하려면, 시스템 변수 enterprise_encryption.rsa_support_legacy_padding을 ON으로 설정하십시오. 또한, component 함수가 생성하는 RSA 키에 허용되는 최대 길이를 변경하려면, 시스템 변수 enterprise_encryption.maximum_rsa_key_size을 사용하여 적절한 최대값을 설정하십시오. 구성 정보는 Section 8.6.2, “Configuring MySQL Enterprise Encryption”를 참조하십시오.
8.6 MySQL Enterprise Encryption
8.6.2 Configuring MySQL Enterprise Encryption