Forum Replies Created
-
AuthorPosts
-
December 19, 2009 at 4:11 pm in reply to: Delete Manually Some Records, It Displays By Executing All Records Inl #30178
peterlaursen
ParticipantAccording to MySQL manual the variable should be available in MySQL 4.1:
http://dev.mysql.com/doc/refman/4.1/en/mysqld-option-tables.html
Are you sure you spelled it correctly? Please see image.
[attachment=1307:acommit.jpg]
peterlaursen
ParticipantPlease execute “SHOW GLOBAL VARIABLES LIKE 'wait_timeout'”. What does it return? My guess is that 'wait_timeout' setting on the server is low. But it can of course also simply be connectivity issue.
However it seems you are using a rather old SQLyog version. If 'wait_timeout' is the reason you can work around it. Please read release notes for 8.13:
http://www.webyog.com/blog/2009/08/14/sqlyog-813-has-been-released/
“Added an option for user to specify the timeout setting for the session (note: it will work with MySQL 4.1 and up only as earlier versions do not support SESSION variables). Please see detailed note below.”
… and also this Blog:
http://www.webyog.com/blog/2009/09/02/“mysql-server-has-gone-away”-part-2-session-timeout/
December 19, 2009 at 12:41 pm in reply to: Delete Manually Some Records, It Displays By Executing All Records Inl #30177peterlaursen
ParticipantI am sorry, but I have no idea about what the problem could be it if is not transactions enabled per default in server configuration. We will have to discuss on Monday.
peterlaursen
ParticipantWhen you register a server you go through menus here
[attachment=1306:server.jpg]
Also read the help/documentation paragraph getting started .. registering servers .. query analyzer settings.
If that was not reply enough could you please be more specific about the problem?
December 18, 2009 at 10:04 pm in reply to: Delete Manually Some Records, It Displays By Executing All Records Inl #30175peterlaursen
Participanthmmm .. what is your server version? Execute “SELECT VERSION();”.
For me
SHOW GLOBAL VARIABLES LIKE 'autocommit'
returns ON.
December 18, 2009 at 9:53 pm in reply to: Export Process List To File When Running Threads > Threshold #30186peterlaursen
ParticipantIt will be a new feature and will require new code in MONyog. But there may be situations where retrieval of processlist is not possible (if the alert is about non-availability of service).
December 18, 2009 at 4:00 pm in reply to: Export Process List To File When Running Threads > Threshold #30184peterlaursen
ParticipantI think we should then rather (optionally) include output of SHOW FULL PROCESSLIST in the alert itself. Only a personal idea. What say?
peterlaursen
ParticipantIt has! table menu/context menu .. alter table .. advanced properties.
December 18, 2009 at 12:41 pm in reply to: Delete Manually Some Records, It Displays By Executing All Records Inl #30173peterlaursen
ParticipantThat looks fine, but if you are using transactions you will have to “COMMIT;” after changes or execute “SET AUTOCOMMIT = 1” before performing changes. *transactions* means that changes are stored in a log and only written to database on COMMIT. As long as not COMMITTED the changes will only be visible for the session. If you close SQLyog before COMMITTING changes are lost.
Please execute
SHOW GLOBAL VARIABLES LIKE 'autocommit';
. and tell what it returns (ON or OFF).
Also please tell if the table is MyISAM or InnoDB.
December 18, 2009 at 10:27 am in reply to: Delete Manually Some Records, It Displays By Executing All Records Inl #30170peterlaursen
ParticipantAre you using transactions? You may do without knowing if you have “SET AUTOCOMMIT = 0” in server configuration.
Try execute “SHOW GLOBAL VARIABLES LIKE 'autocommit';”. Transactions are effective if OFF is returned.
Please also explain exactly what you did when 'manually deleting rows'.
peterlaursen
ParticipantPlease confirm that you actually get the operations on data you wanted and only the console output was confusing?
If not please provide some kind of test case,
peterlaursen
ParticipantThis was with MySQl 5.1.41 .. but not important. However I do not think you told the exact SQLyog version? Please try with 8.2 i you did not already.
peterlaursen
Participantno problem here with this example:
CREATE TABLE `chinese` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`data` TEXT,
PRIMARY KEY (`id`)
) ENGINE=INNODB DEFAULT CHARSET=utf8;
INSERT INTO `testchinese`.`chinese`(`id`,`data`,`browser`) VALUES ( NULL,'新司法解释规定恶意透支信用卡最高可判无期','opera');
INSERT INTO `testchinese`.`chinese`(`id`,`data`,`browser`) VALUES ( NULL,'中纪委集训全国纪检监察干部 考核成绩记入档案','firefox');
INSERT INTO `testchinese`.`chinese`(`id`,`data`,`browser`) VALUES ( NULL,'扫黄打非办公布八起手机涉黄案 7家网站积极清理 ','ie8');
— It works equally well no matter if I use GRID or editor:
SELECT * FROM chinese;
/*returns
Code:id data browser
—— —————————————————————— ——-
1 新司法解释规定恶意透支信用卡最高可判无期 opera
2 中纪委集训全国纪检监察干部 考核成绩记入档案 firefox
3 扫黄打非办公布八起手机涉黄案 7家网站积极清理 ie8
4 新司法解释规定恶意透支信用卡最高可判无期 opera
5 中纪委集训全国纪检监察干部 考核成绩记入档案 firefox
6 扫黄打非办公布八起手机涉黄案 7家网站积极清理 ie8.. the alignment issue with unicode data is a known problem
*/
Are you perfectly sure that it is not another column causing problems?
peterlaursen
ParticipantI cannot tell what MySQL server Mahesh was using. He left office for today. But any MySQL server from 4.1.x with any SQLyog from 6.0 will handle this. We will normally work with most recent stable server or the ones before that.
Our specific server recommendations are http://www.webyog.com/faq/content/1/178/en/sqlyog-is-a-client-for-the-mysql-server-_-but-what-server-versions-are-supported.html
(only I will soon raise 5.0 recommendation to 5.0.67 or higher – but that has another reason)
Can't you please provide the table in an *importable form* – ie. as a CREATE TABLE .. SQL-statement? You can copy it from info/messages tab. Then I can try from here.
peterlaursen
Participantworks fine with recent servers:
Code:SQLyog Job Agent Version 8.21 test1 Copyright(c) Webyog Softworks Pvt. Ltd. All Rights Reserved.Sync started at Tue Dec 15 16:50:52 2009
Table SrcRows TgtRows Inserted Updated Deleted
========================= ======= ======= ======== ======= =======
`notafiscal` 7 4 3 0 0Total time taken – 0 sec(s)
We neither will nor can solve this. It is a bug with the server you are using.
-
AuthorPosts