Forum Replies Created
-
AuthorPosts
-
peterlaursen
ParticipantI can see that you have already posted heretoo:
http://bugs.mysql.com/bug.php?id=50868
basically this is the right place. We do not use C# in combination with MySQL so we do not have a ready reply to this.
peterlaursen
ParticipantHow do you connect to MySQL? Are you using ODBC or Connector.NET?
peterlaursen
ParticipantYou did not really reply to any question! :huh:
peterlaursen
Participantwell .. looks like a problem with Winforms and not SQLyog. I do not know how Winforms handles Chinese. There is no configuration option to make it use utf8?
My guess is that Winforms (being a Microsoft program) will use 'utf16 with little-endian byte-order' (also known as 'Windows Unicode') and not 'utf8' to represent Unicode (at least as default). MySQL does not support 'Windows Unicode'. It supports utf8 and ucs2 (what is *almost* the same as 'utf16 with big-endian byte-order'. You can easily identify it what is stored in the table, as in utf8 Chinese characters are 3 bytes long (whereas in utf16 (and also non-unicode Chinese character sets to my knowledge) they are 2 bytes long.
Please execute
Code:SHOW CREATE TABLE tablename;for the table you are inserting to. We need first to be sure that the table definition does not have another charset than server default.
Also please try to insert a small Chinese string from both SQLyog and Winforms (same string with both – and paste it here in clear text) and next execute
Code:SELECT HEX(columnname) FROM thetable;peterlaursen
ParticipantI do not understand your reference to 'mysqli'. If you are referring to the PHP mysqli extension SQLyog does not depend on it.
In the beginning you wrote that connecting with SSH is a problem. What about direct connection? I think we should start figure out if this is a SSH problem or MySQL problem.
peterlaursen
ParticipantI am not able to reproduce this or I just do not understand. Could you please elaborate?
peterlaursen
Participantwas it a SQLyog or MONyog question?
peterlaursen
ParticipantYou may get the SJA version with commands “sja –version” or “sja -v”.
peterlaursen
ParticipantOK .. we should check this in Wine!
peterlaursen
ParticipantWell ..
The problem from our point of view is that there will be a single user/customer for every detailed implementation of this. You want to start a call from a phone no. column – somebody else may want to open a browser from a URL column or open a HEX-editor from a BLOB column etc. etc.
Also the 'content' is hard to identify in lots of cases. For instance I believe there is no international standard for phone numbers. How should SQLyog identify a string as a phone no? Is “99 1-4546-6789” a valid phone no. in Farawaystan?
For your particular 'project' we do not know either if this specific program has an API that makes it possible to control it from other programs or if it takes command line parameters such that the phone no. can be passed as a parameter to the program call. That would also be an requirement of course.
I think in conclusion that you should not expect us to try to implement this. It would not be very hard to add an item to the GRID-context menu calling an external program. Anybody with reasonable C-programming skills can do it (based on the COMMUNITY code that is freely available) if it is the only thing that is required.
peterlaursen
ParticipantThe reason why I ask is a change in 8.15 as described in changelogs:
“Improved the memory handling in GRIDS with BLOB/TEXT columns. This fixes some slugginess when scrolling a GRID containing such data.”.
We will still fetch the data from all rows of the table, but the experience when working with the program will be more smooth and pleasant than before this change.
peterlaursen
ParticipantI understand what you are telling. But it is NOT reproducible. Even if it happens on your environment, it does not on ours. Could you try install on another machine (if you have)?
What is your client environment? OS? Windows/Wine?
peterlaursen
ParticipantWhat SQLyog version are you using?
peterlaursen
ParticipantNot reproducible for us. We tried 20 tables on different machines.
Are you sure it is not a server issue? Please try from SQLyog editor (or any other client):
Code:TRUNCATE TABLE tablename;SELECT * FROM tablename /* .. add a LIMIT if you want */;
If data are returned and not an empty set, the problem is with your server and not the client/SQLyog.
Did you check server changelogs for such bug? And what server version are you using?
peterlaursen
ParticipantNo idea. I don't use Linux very much and when I do it is SuSE. For me the generic 'glibc23' RPM's from dev.mysql.com have always worked fine. I always have updated MySQL after installing the distro.
-
AuthorPosts