随笔分类 - mysql数据库
摘要:-- 创建数据库 create database 数据库名 default charset =utf8; -- 创建表 create table 表名 ( id int,name char(20)); create table 表名 (id int null/not null,name char(2
阅读全文
摘要:-- 创建用户 create user '用户名'@'ip地址' identified by 'password'; ip adress 可填%,即指可以在任何电脑上登录 -- 给用户进行授权 (一)grant 权限(select,insert,update) on 数据库名.表名 to '用户名'
阅读全文

浙公网安备 33010602011771号