mysql常用命令

登录操作mysql-u<用户名>-p用户创建用户createuser'<用户名>'@'<ip>'identifiedby'<密码>'ip为%则允许所有授权grant<权限>on<数据库>.<表>to'<用户名&