---
title: "mysql 建表"
author: "bao231"
date: "2013-08-22T15:38:58Z"
tags: []
categories: ["数据库"]
slug: "mysql"
draft: false
lastmod: "2013-08-22T15:38:58Z"
id: 1929324
url: "https://bao231.iteye.com/blog/1929324"
---

CREATE DATABASE IF NOT EXISTS haiercloud  default charset utf8 COLLATE utf8\_general\_ci;

grant  select,insert,update,delete,create,drop on haiercloud.* to cloud@"%"  identified by 'cloud';