首页 > 数据库技术 > 详细

mysql

时间:2014-08-02 23:06:44      阅读:484      评论:0      收藏:0      [点我收藏+]
 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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!