Skip to content

Fix SSL errors on the container Fedora cases. #1290

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 17, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions ci/setup_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ set -eux

MYSQL_TEST_LOG="$(pwd)/mysql.log"

bash ci/ssl.sh

mysql_install_db \
--log-error="${MYSQL_TEST_LOG}"
/usr/libexec/mysqld \
Expand All @@ -14,4 +16,12 @@ sleep 3
cat ${MYSQL_TEST_LOG}

/usr/libexec/mysqld --version

mysql -u root <<SQL
DROP USER 'root'@'localhost';
CREATE USER 'root'@'localhost' IDENTIFIED BY '';
GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' WITH GRANT OPTION;
FLUSH PRIVILEGES;
SQL

mysql -u root -e 'CREATE DATABASE IF NOT EXISTS test'