MySql
changxin1988
这个作者很懒,什么都没留下…
展开
-
MySql数据库(环境)的配置方法
参考地址:http://www.cnblogs.com/bookwed/p/5896619.html #MySql的配置文件差别: [root@VM_37_112_centos support-files]# dir binary-configure my-huge.cnf mysql-log-rotate config.huge.ini转载 2017-03-20 08:24:31 · 1126 阅读 · 1 评论 -
MySql常用命令
#显示所有数据库 show databases #描述表哥 desc table_name #更新数据表的内容 update user set password='' where user='root' and host='localhost'; delete from user where user ='' and host='vm\_37\_112\_centos';原创 2017-03-20 08:16:42 · 336 阅读 · 0 评论 -
MYSQL 数据库内容出现中文乱码的解决办法
PS : 下述内容都是为了方便个人记录,不一定适用于其他人,只供参考,多谢! 【解决办法】 步骤1 使用前,加上 mysql_query("set names utf8", $mysql); 步骤2 将相关参数修改成utf8,参考链接: http://www.cnblogs.com/fengqingtao/archive/2010/11/23/1885220.html原创 2017-07-15 21:13:07 · 533 阅读 · 0 评论