UP | HOME

MySQL

Table of Contents

常用命令

  • 查询用户
select user from mysql.user; //或
select user,host from mysql.user;
  • 删除用户
DROP USER 'jeffrey'@'localhost';
  • 删除数据库
drop database phplampDB;
  • 刷新系统权限表
flush privileges;

Mac下安装mysql

Links

Date: 2014-11-17

Author: 马楠

Created: 2015-12-17 四 12:34

Emacs 24.3.1 (Org mode 8.2.10)

Validate