MySQL配置文件mysql.ini参数详解、MySQL性能优化my.ini(Linux系统下是my.cnf),当mysql服务器启动时它会读取这个文件,设置相关的运行环境参数。 my.ini分为两块:Client Section和Server Section。 Client Section用来配置...
分类:
数据库 时间:
2014-07-15 23:46:51
阅读次数:
556
Mysql卸载
yum remove mysql mysql-server mysql-libs compat-mysql51
rm -rf /var/lib/mysql
rm /etc/my.cnf
查看是否还有mysql软件:
rpm -qa|grep mysql
有的话继续删除
Mysql安装
1>若本地没有安装包 可以考虑使用yum命令进行下载
# yum -y ...
分类:
数据库 时间:
2014-07-15 22:33:11
阅读次数:
356
mysql多实例1.my.cnf通过定义mysqldconfig类mysqld_vars={}从里面获得很多配置文件相关参数写入字典mysql.py2.initDB初始化数据库3.修改权限4.rc脚本启动5.check检查一下配置文件,配置文件与mysql变量同步6.值其实一样,不让显示7.Popen调用mysql-e命令SQLIOSeconds_Behind_Ma..
分类:
数据库 时间:
2014-07-15 10:55:19
阅读次数:
398
This is really classic searching problem to solve. The key is pruning.(My reference:http://blog.csdn.net/lyy289065406/article/details/6647960)There ar...
分类:
其他好文 时间:
2014-07-15 10:04:36
阅读次数:
221
本文转自:http://stackoverflow.com/questions/1288046/how-can-i-get-my-webapps-base-url-in-asp-net-mvcMaybe it is extension or modification of the answers p...
分类:
移动开发 时间:
2014-07-14 23:24:22
阅读次数:
283
出现Out of resources when opening file './xxx.MYD' (Errcode: 24)错误是因为打开的文件数超过了my.cnf的--open-files-limit。open-files-limit选项无法在mysql命令行直接修改,必须在my.cnf中设定,最...
分类:
数据库 时间:
2014-07-14 21:16:24
阅读次数:
247
python join 和 split方法的使用,join用来连接字符串,split恰好相反,拆分字符串的。1.join用法示例 >>>li = ['my','name','is','bob'] >>>' '.join(li) 'my name is bob' >>>'_'.join(li) 'm....
分类:
编程语言 时间:
2014-07-14 19:12:52
阅读次数:
247
使用关键点:ReflectionClass
class Rbac extends MY_Controller
{
public function index()
{
$arr = glob( __DIR__ .DIRECTORY_SEPARATOR. '*.php');
// $arr = glob(dirname(__DIR__) . ...
分类:
Web程序 时间:
2014-07-14 18:36:44
阅读次数:
307
附:一些Select的技巧1.动态创建selectfunction createSelect(){var mySelect = document.createElement("select");mySelect.id = "mySelect";document.body.appendChild(my...
分类:
Web程序 时间:
2014-07-14 17:58:23
阅读次数:
307
一幅图是由许多元素组成的。包括图标题,x轴标签,y轴标签,刻度线等。图1给出了各个元素的一个示意图。
这些所有的元素在scilab中都是可以用代码控制的。
标题
上个笔记上介绍了用xtitle()函数可以在图上添加标题。比如:
title("My Plot");
实际上,title函数有三种形式:
title(my_title)
title(my_title,)
ti...
分类:
其他好文 时间:
2014-07-14 16:13:18
阅读次数:
241