码迷,mamicode.com
首页 > 数据库 > 详细

mysql

时间:2014-08-02 23:06:44      阅读:283      评论:0      收藏:0      [点我收藏+]

标签:style   blog   color   io   2014   art   ar   div   

 1 /etc/init.d/mysql start
 2 
 3 mysql>create database record character set utf8 collate urf8_general_ci;
 4 
 5 mysql>use record 
 6 
 7 mysql>create table sum_vacation (data date,score int,dis1 varchar(20),dis1 varchar(20),dis3 varchar(20)) engine=innodb default charset=utf8
 8 
 9  mysql>show variables like character_set_%
10 
11 mysql>show databases update sum_vacation set scroe=2 where data=20140801;
12 
13 mysql> update sum_vacation set scroe=2 where data=20140801;
14 Query OK, 1 row affected (0.01 sec)
15 Rows matched: 1  Changed: 1  Warnings: 0

 

mysql,布布扣,bubuko.com

mysql

标签:style   blog   color   io   2014   art   ar   div   

原文地址:http://www.cnblogs.com/been/p/3887468.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!