
mysql
iteye_9202
这个作者很懒,什么都没留下…
展开
-
mysql比较时间
select * from operatlog where date_format(optime, '%Y-%m-%d') > '2007-01-01' and date_format(optime, '%Y-%m-%d') < '2009-01-01' limit 1;原创 2011-08-29 13:22:51 · 143 阅读 · 0 评论 -
mysql 创建用户 设置权限
一, 创建用户: 命令:CREATE USER 'username'@'host' IDENTIFIED BY 'password'; 说明:username - 你将创建的用户名, host - 指定该用户在哪个主机上可以登陆,如果是本地用户可用localhost, 如果想让该用户可以从任意远程主机登陆,可以使用通配符%. password - 该用户的登...原创 2012-02-17 11:57:33 · 177 阅读 · 0 评论