![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Mysql
frylion
本人对开源的项目有一种天生的好感,喜欢动手而不仅仅是动眼。本人也乐于尝试一切新的事物。我的人生格言是:我人人为我,我为人人。这一点和开源精神相吻合。
展开
-
MySQL CMake参数说明手册
MySQL自5.5版本以后,就开始使用CMake编译工具了,因此,你在安装源文件中找不到configure文件是正常的。很多人下到了新版的MySQL,因为找不到configure文件,不知道该怎么继续下去。有没有一篇可供参考的文章呢?其实在http://forge.mysql.com网站上有一篇文章,专门介绍了如何用CMake工具进行新版MySQL的编译安装。原文地址为:http://forg转载 2012-12-23 10:38:04 · 1075 阅读 · 0 评论 -
源码编译新版本的mysql5.5.9
创建mysql安装目录[root@xuhost opt]# mkdir /usr/local/mysql5.5.9/创建数据目录[root@xuhost opt]# mkdir /var/mysql[root@xuhost opt]# chown mysql.mysql -R /var/mysql安装 cmake[root@xuhost opt]# wget http://转载 2012-12-23 10:40:44 · 476 阅读 · 0 评论 -
Is there any best way to reduce the size of ibdata in mysql.?
Keep in mind the busiest file in the InnoDB infrastructure is /var/lib/mysql/ibdata1This file normally houses four types of informationTable DataTable IndexesMVCC (Multiversioning Concurrency Co转载 2012-12-20 14:44:30 · 649 阅读 · 0 评论 -
用bash脚本删除database的一张表
#!/bin/bash# backup myhelpdesk database monthly.backup_confirm() {if [ $? -eq 0 ]then echo "mysql backup successfully $(date +%Y%-m%-d)">>log/mysql.logelse echo "mysql backup failed原创 2012-12-20 19:09:54 · 395 阅读 · 0 评论 -
MySQL Master Slave同步配置
环境:PC:ubuntu 10.10 192.168.1.112(master) 192.168.10.245(slave) MySQL : 5.1.49-1ubuntu8.1-log在master中已经存在数据库test 首先修改mysql配置文件:/etc/mysql/my.cnf[master] #author:zhxia 1 #mas转载 2012-12-21 15:53:31 · 292 阅读 · 0 评论 -
MySQL数据库的default-character-set问题
默认在mysql安装好之后,默认的字符是latin1,我们需要把他改成utf8,在my.cnf文件中的[mysqld] section 中加[mysqld]character_set_server=utf8然后重启mysql,验证看下图这样以后创建的所有数据库或者表都是默认的utf8,原创 2013-01-08 14:47:24 · 3064 阅读 · 0 评论