浏览代码

ci(install): Use mariadb 10.6 client

version-14
Gavin D'souza 2 年前
父节点
当前提交
858735dfa9
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. +4
    -1
      .github/helper/install.sh

+ 4
- 1
.github/helper/install.sh 查看文件

@@ -17,7 +17,10 @@ if [ "$TYPE" == "server" ]; then
fi

if [ "$DB" == "mariadb" ];then
sudo apt install mariadb-client-10.6
curl -LsS -O https://downloads.mariadb.com/MariaDB/mariadb_repo_setup
sudo bash mariadb_repo_setup --mariadb-server-version=10.6
sudo apt install mariadb-client

mysql --host 127.0.0.1 --port 3306 -u root -e "SET GLOBAL character_set_server = 'utf8mb4'";
mysql --host 127.0.0.1 --port 3306 -u root -e "SET GLOBAL collation_server = 'utf8mb4_unicode_ci'";



正在加载...
取消
保存