项目文件夹

文件
wehub-resource-sync bbfc60cd69
Publish BFCL to PyPI / build_and_publish (push) Has been cancelled
Update API Zoo Data / send-updates (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:37:27 +08:00

14 行
288 B
Bash

#!/bin/bash
# Install MySQL server
apt-get update
apt install -y mysql-server
# Start MySQL service
usermod -d /var/lib/mysql/ mysql
service mysql start
# Configure MySQL
mysql -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '';"
mysql -e "FLUSH PRIVILEGES"