[Ubuntu] Downgrade mysql to 8.0.26 (#4674)

This commit is contained in:
Mikhail Koliada
2021-12-07 23:38:14 +03:00
committed by GitHub
parent 4a8cc99a63
commit 77f9a979a8
3 changed files with 28 additions and 9 deletions

View File

@@ -31,7 +31,7 @@ Describe "MySQL" {
It "MySQL Service" {
"sudo systemctl start mysql" | Should -ReturnZeroExitCode
mysql -s -N -h localhost -uroot -proot -e "select count(*) from mysql.user where user='root' and authentication_string is null;" | Should -BeExactly 0
sudo mysql -s -N -h localhost -uroot -proot -e "select count(*) from mysql.user where user='root' and authentication_string is null;" | Should -BeExactly 0
"sudo mysql -vvv -e 'CREATE DATABASE smoke_test' -uroot -proot" | Should -ReturnZeroExitCode
"sudo mysql -vvv -e 'DROP DATABASE smoke_test' -uroot -proot" | Should -ReturnZeroExitCode
"sudo systemctl stop mysql" | Should -ReturnZeroExitCode