SQL 分类及 mysql安装及卸载注意事项

发布时间 2023-03-22 21:16:01作者: YBP_杨社长

SQL structural query language 分类

DML 数据操纵语言 data manipulation language

  insert

  update

  delete

  select

DDL 数据定义语言 data definition language

  create table

  alter table

  drop table

  create index

  drop index

DCL 数据控制语言 data control language 

  grant 授予访问权限

  revoke 撤销访问权限

  commit 提交事物

  rollback 事物回滚

  savepoint 设置保存点

  lock 


 

Mysql 卸载 (不要轻易卸载)

  1. 关闭mysql 服务

    此电脑 -> 右键(管理)-> 服务和应用程序 -> 服务 (mysql57) 右键停止

  2.卸载mysql 

    搜索框 -> 控制面板 ->卸载程序 -> mysql卸载

  注意:(卸载后mysql文件夹内 Data数据库会被保留、my.ini是数据库的配置文件)

    如果保留,下次就不能安装在同一文件夹内。

  3. 删除服务名字

  命令行窗口:sc delete 服务名

  4. 清理注册表


 

 

Mysql安装

  custom -- mysql servers(x64) 向右移动 --  单机选择advanced options

  -- 选择 install Directory和 Data directroy的安装位置 --- configuration (选择minimal)

  -- config type :development  computer -- show advanced and logging Options 打钩

  -- logging options (下面的error log 和 file path 不能有中文)

执行后全部绿色勾勾 安装成功