Forum Replies Created
-
AuthorPosts
-
peterlaursen
Participant“I think you are going against yourself here ..” .. this looks like a good point! Of course EXPLAIN will require a unique database context! So this we will have to discuss again!
But it is true what Manohar wrote that it is not always possible from logs to tell the database context of a query! We had this in some beta version earlier but had to remove it simply!
Also the Proxy only *handles* the database context, but it does not *inform* about it!
peterlaursen
ParticipantDeveloper team confirmed this there is no such time-out code in MONyog. We will try ourselves of course to keep connection open for long time. We will try over the weekend and in case no power shortage or connectivity issue happens (what cannot be guaranteed in India!) we will see if it runs Monday morning!
peterlaursen
ParticipantI do not think there is any such timeout setting in MONyog. I think it is a networking issue. But I will ask the MONog team to confirm.
peterlaursen
ParticipantThanks @Boyd for commenting on this.
I can add that with engines supporting TABLESPACE parameter in CREATE statement (NDB and FALCON) there are even more problems! You can have 20 databases with each 500 tables distributed randomly in 7 tablespaces (at least as I understand it)!
So 'disk is full' would mean that “physical files are close in size to defined value” AND “there is no free space in at least one tablespace”. Agreed?
And actually I am not sure if MyISAM files (.MYD and .MYI) will shrink or not if you delete data or drop an index. I think (but not sure) that each of of these files behave identically to the InnoDB tablespace (free space is not reallocated to disk). Same will probably apply to ARCHIVE, FALCON, PBXT etc. database files.
peterlaursen
ParticipantIt should also apply to filtering then! We would need to store a WHERE-clause and an ORDER BY-clause for every table that has been opened by user in current session if we shall support this.
peterlaursen
ParticipantWe have released version 8.02 RC. Refer to: http://www.webyog.com/blog/2009/02/19/sqly…-been-released/
“SQLyog will now not reconnect if connection is lost during imports. Instead an error message will prompt (the reason for this is that session variables defined on top of the script would be reset to server defaults with reconnection. As a result (and most important) special characters could garble and other errors could occur as well).”
So if you are able to import wiht this version and special characters still garble, then I am wrong. If an error pops up (“connection was lost …”) during import I was right!
peterlaursen
ParticipantLooks like a problem with the tokenizer. We have fixed some issues where comments and DELIMITERs confuse the tokenizer, but there amy still be an issue!
To reproduce this we need no data. Simply save the contents of a editor tab to a .txt file, attach here and tell *exactly* where cursor sholud be positioned to reproduce this! Could you do this, please?
peterlaursen
ParticipantHow would you think about something like this (my personal and current idea only):
Quote:Setting it ON introduces a high risk of index corruption in the event of a crash. Setting it OFF will force the server to update indexes for every INSERT/UPDATE/DELETE. That may affect performance as the server will then not be able to use idle periods for index maintenance. So this setting is a 'trade-off'. But no matter what: MyISAM tables should always be checked after a server crash.peterlaursen
Participantbut also the issue may be as trivial as a bad network cable!
peterlaursen
ParticipantI think we found the solution!
Your connection to (at least) one of the server(s) in unstable. Connection is lost and SQLyog reconnects – and session SQL_MODE and CHARSET settings are lost and CHARSET reset to server default! The 'SQL_MODE cannot be NULL' error tells this!
We should not reconnect turing import but popup an error instead! We will provide a build that does. But maybe you will not be able to import or you may have to try several times!
The problem is the quality of you Internet connection or hosting, simply! The next build will show this, I believe!
peterlaursen
ParticipantI will try to understand this again. I think after some hours: But I wished that you did not use so many words! And again: we are discussing SQLyog and what it does. References to phpMyAdmin, EMS, Navicat or whatever only brings confusion!
But I want to make it clear that we have no intention of supporting setting client charsets. SQLyog will (from version 6.0) always use utf8 as client charset. There is only one reason why it should be possible and that is when you are connected to a 3.x or 4.0 server using a charset diferent from the client machine LOCALE settings (say if you have latin2 data on the server and use English locale settings). But with servers from 4.1 this is no problem as SET NAMES is supported.
It is a very bad practice (used by some PHP standard web applications mostly) to store data enoded different from what the table definition says. We have no intention of supproting this. They will have to learn principles of MySQL charsets (and they are doing actually!). It did make some sense as long as MySQL did not support unicode to store utf8 strings in a non-unicode table.
peterlaursen
Participant“I get error that mysqld mode can't be NULL”. When did you get that error?
It is not a problem with you English. That is fine enough. But you are simply using too many words when writing! Be exact please (provide screenshots, exact wording of error messages). Exactly what are you doing, exactly what happens and what does not happen.
I have still not understood much of what you have been telling. It does not help that you tell you already told this and that as I did not undertstand in the first place.
You simply have to start explaining from the beginning. I understand almost nothing! Describe step-by-step so that we can reproduce *everything* in exactly the same order and using exactly same procedures as you do.
peterlaursen
ParticipantBecause using the base64 option will cause 50% transmission overhead (every 2 bytes become 3 bytes after base64 encoding).
We found a way to detect this so from next release an error will pop up like this
[attachment=1126:SnipImage.JPG]
peterlaursen
ParticipantThis is a bug in PHP and not a bug in SQLyog! And an annoying bug that seems to spread rapidly these days! Basically the bug will cause PHP to drop encoded XML characters.
Please refer to:
http://www.webyog.com/blog/2009/01/06/sqly…-been-released/
“* Added an option to use Base64 encoding for communicating XML data stream with the HTTP tunneller. Using this option can be required to work around
.” Please try this base64 option. You find it in HTTP tab .. advanced button.
peterlaursen
ParticipantI am using the lastest build from our development tree (8.02). It makes no difference. This discussion also has nothing with 'stability' to do!
I am sorry but I really have problems understanding in detail what you are telling! And you still have not made it possible for us to reproduce this.
I understand that you have an old server (and what server version was that old server you still did not tell). You dumped data from that old server and imported to two new servers (one having utf8 as default charset, the other having latin 2 as default charset). One one everything is fine – one the other something garbled! Please confirm this!
Now:
1) you used *only SQLyog* – for both exporting and importing?
2) did you have the dump opened in an editor? (some editors may garble utf8!)
Please start from scratch: provide dump (a small one of one table with 5 rows is enough!) where this is reproducable: *the very same dump* will result in distorted data or not depending on server settings on the sever where it is imported.
And please: we are discussing SQLyog here. We are not interested in references to phpMyAdmin because what it does may depend on webserver/PHP configuration (and its own configuration not to mention the PMA version) and the display of special characters may depend on browser, browser encoding settings and the LOCALE of your system (and we would have to set up everything exactly like on your environment). After all it is a web program! So while we are discussing this please use SQLyog and *only SQLyog* with that test case!
Please be careful to tell step-by-step what you are doing (and *only* that not to confuse my old brain!)
(and do not exclude some charset bug in MySQL). Best of all if you could upgrade servers to latest 5.0 (5.0.67).
BTW: I do not know about a 'mysql4.php file'!!
-
AuthorPosts