2
0
mirror of https://github.com/boostorg/mysql.git synced 2026-02-16 13:32:15 +00:00
Files
mysql/test/integration/db_setup_sha256.sql
ruben 7c7f26c4fc Enhanced the test runner scripts for integ tests
Split db_setup.sql into regular + sha256
Added a Python script to conditionally run setup and tests
Modified the logic on SHA256 support
2020-04-06 16:44:12 +01:00

13 lines
645 B
SQL

-- Setup that requires the presence of SHA256 functionality
DROP USER IF EXISTS 'csha2p_user'@'localhost';
CREATE USER 'csha2p_user'@'localhost' IDENTIFIED WITH 'caching_sha2_password';
ALTER USER 'csha2p_user'@'localhost' IDENTIFIED BY 'csha2p_password';
GRANT ALL PRIVILEGES ON awesome.* TO 'csha2p_user'@'localhost';
DROP USER IF EXISTS 'csha2p_empty_password_user'@'localhost';
CREATE USER 'csha2p_empty_password_user'@'localhost' IDENTIFIED WITH 'caching_sha2_password';
ALTER USER 'csha2p_empty_password_user'@'localhost' IDENTIFIED BY '';
GRANT ALL PRIVILEGES ON awesome.* TO 'csha2p_empty_password_user'@'localhost';
FLUSH PRIVILEGES;