1. 先创建数据库
  2. 创建用户并赋予一个数据库的所有权限
use mysql;
create database databaseName character set utf8;
grant all privileges on databaseName.* to username@'ip' identified by 'password';

举例:

use mysql;
create database test_db character set utf8;
grant all privileges on test_db.* to testuser@'localhost' identified by '123456';

最新文章

  1. Web服务及http协议
  2. ASP.net 验证码(C#) MVC
  3. 编译原理之lex,yacc学习
  4. Swift学习笔记六
  5. 关于NGUI中的自适应和对齐机制
  6. BIEE11g BI_server Jvm參数调整
  7. cssLoading效果
  8. codeforces 798c Mike And Gcd Problem
  9. hadoop in hue的搭建(基于cdh版本)
  10. Server Memory Server Configuration Options 服务器内存服务配置选项
  11. 【php增删改查实例】第二十二节 - 引入百度地图
  12. windows域控里,属性和字段映射表
  13. Mysql 获取当天,昨天,本周,本月,上周,上月的起始时间
  14. How to Enable EPEL Repository for RHEL/CentOS 7.x/6.x/5.x
  15. Beego 框架学习(一)
  16. 微信小程序设置底部导航栏目方法
  17. PAT——1072. 开学寄语(20)
  18. backtrack渗透测试中常用的命令总结
  19. 洛谷P4331 [BOI2004] Sequence 数字序列 [左偏树]
  20. jquery横向手风琴效果2

热门文章

  1. 路过--<全世界谁倾听你>
  2. Fastjson <= 1.2.47 远程命令执行漏洞
  3. shell脚本 set命令
  4. Redis 管道(pipeline)
  5. 在阅读众多的blog中,我学到了什么
  6. windows下注册ocx控件
  7. 2017 ACM/ICPC Asia Regional Shenyang Online 12 card card card
  8. java程序中的多线程(转)
  9. 深入理解Magento - 第五章 Magento资源配置
  10. Delphi 消息函数 SendMessage函数