MySQL 创建数据库

CREATE DATABASE mydatabase CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE USER 'myuser'@'%' IDENTIFIED WITH 'mysql_native_password' BY 'mypassword';
GRANT ALL PRIVILEGES ON `mydatabase`.* TO 'myuser'@'%'; FLUSH PRIVILEGES;
本页面最后修改于 2025-8-9,距今约 22

Created By 三三好记性不如烂 Wiki - 人工大脑CC BY-SA or CC BY-NC-SA 4.0