![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mysql
wangxiaosen
这个作者很懒,什么都没留下…
展开
-
mysql存储过程同步问题
在设置好mysql同步后,运行存储过程测试,存储过程 CREATE DEFINER=`root`@`localhost` PROCEDURE `prodForTran_proc`(in new_uid bigint,in new_pay_orderID varchar(255),in new_pid int,in new_sid int,in new_pct int,原创 2009-04-10 15:09:00 · 2100 阅读 · 1 评论 -
mysql has gone away 问题
这几天老碰到程序连接mysql 出现 has gone away 问题,主要是时间的问题。 需要确定以下三个方面是否有问题。 1. max_allowed_packet 。 是否设置太小。 2. wait_timeout 和 interactive_timeout 的是否值设置太小。 3. 应用和数据库的系统时间是否一致。如果不一致也会出现这个问题。原创 2009-04-20 09:41:00 · 429 阅读 · 0 评论 -
更改mysql的编码
更改为utf8编码 default-character-set=utf8init_connect=SET NAMES utf8 不区分大小写 lower_case_table_names=1原创 2009-05-20 10:32:00 · 352 阅读 · 0 评论 -
Client requested master to start
今天几台MySQL服务器突然停电,重启后复制无法启动,总是报如下错误:080922 10:29:01 [Note] Slave SQL thread initialized, starting replication in log mysql-bin.000778 at position 2874108, relay log ./relay-bin.003287 position:转载 2009-12-08 13:08:00 · 876 阅读 · 0 评论 -
cannot find -lncursesw 错误
<br />在suse上 mysql编译时出现的错误<br />mysql编译参数为 <br />./configure --prefix=/usr/local/mysql --with-mysqld-ldflags=-all-static --with-client-ldflags=-all-static --with-unix-socket-path=/usr/local/mysql/tmp/mysql.sock --with-charset=utf8 --with-collation=utf原创 2010-12-02 11:04:00 · 2912 阅读 · 0 评论 -
mysql 性能优化之 mysqlreport
1.linux上下载 wget http://hackmysql.com/scripts/mysqlreport-3.5.zip2.解压之/tmp/目录 3.需要安装 perl DBI perl -MCPAN -e 'install原创 2011-10-11 14:48:14 · 461 阅读 · 0 评论