Unsupported Screen Size: The viewport size is too small for the theme to render properly.

Forum Replies Created

Viewing 15 posts - 2,236 through 2,250 (of 7,398 total)
  • Author
    Posts
  • in reply to: #28274
    peterlaursen
    Participant

    Or should I understand that you want MONyog to append the log.old to the log.log?

    in reply to: #28273
    peterlaursen
    Participant

    “and I got an error”. Do you remember *what* error? Please always paste (in text or as screenshot) the exact error. That makes it easier to locate from where in code the error message came.

    If I understand that happens after the 'mv' command as long as nothing new has been logged yet. 'mv' will rename the file. So after that the '/var/log/mysql/slow_query_log' file does not exists at all!

    (and after 'mv' command I think FLUSH is actually redundant here! There is nothing to flush. Am I right? Correct me if I am wrong!)

    So here I think it is not true as you write that 'the log is empty' – the truth is rather that 'there is no log yet' (only after first entry has been written there is). So here an error is OK I think! But depends on the error message of course!

    Maybe 'cp' and not 'mv' command will make a difference (but I do not know actually if FLUSH LOGS will physically delete the file or only empty/truncate it). But if you use 'cp' then FLUSH is not redundant of course!

    (and yes .. having logs, pagefiles etc. on a seperate drive will more or less (depending on system) boost performance. As a general rule I used to say “put them on the most busy partition on the least busy physical drive”. But /var/logs/mysql is the standard place I think for RPM-based Linux distributions – so I do not fully understand why you tell this)

    in reply to: #28265
    peterlaursen
    Participant

    @zef .. please tell: are you a COMMUNITY or ENTERPRISE user?

    in reply to: #28264
    peterlaursen
    Participant

    Issue confirmed.

    It is happening because of a WIN32 API function returning some junk instead of instead of a proper utf8-string. When we display in BLOB viewer we convert from utf8 to the native Windows ('little endian' uft16) unicode format (or 'widechar' if you like the C-term better). But as the utf8 input to this conversion is garbled so does the utf16 and the display in Blob viewer. Windows utf8 support is not perfect!

    Actually we knew this issue. We have our own code for managing/detection encodings (what we already use when importing files to the editor) and we can apply it to the BLOB viewer as well (what we probably should have done already – but it seems that nobody thought that it could affect the BLOB viewer). It is now tested and implemented (and it works nicely with the example you provide here) and after cleaning up the code we will create a special build for you and ask you to verify with what more examples that you have! I think we can do tomorrow.

    in reply to: #28262
    peterlaursen
    Participant

    @zef – please tell: does the file you provided display OK in Notepad on your system (with Slovak regional settings) ?

    in reply to: #28269
    peterlaursen
    Participant

    “… are now just folders with all the table headings” .. I do not know understand you mean with 'table headings'.

    But if you have recovered the complete MySQL data folder (typically /var/lib/mysql on Linux) you can simply copy it into a new server installation (should be same server version and of course the server must be stopped while copying!) . Simply do a fresh install on the new server or harddisk, stop server, replace datadir and start server again. Actually the MySQL data folder can even be copied across platforms!

    Also individual MyISAM databases and table folders can be copied like that (ensure to have both .MYD, .MYI and .frm files for every table) though it is not 100% clear if this is officially supported! With InnoDB you need the complete data folder.

    But SQLyog does not help here!

    in reply to: #28261
    peterlaursen
    Participant

    yes .. I also noticed the difference between the GRID and the BLOB VIEWER display. So there is some issue! But I was confused that Notepad also does not recognize the characters as two-byte utf8 characters and displays two latin1 (with my Danish system settings) characters for each instead!

    I cannot come closer tonight!

    in reply to: #28258
    peterlaursen
    Participant

    MySQL Query Browser does not understand these data either!

    (but I do not claim to be an expert with that program)

    [attachment=1108:qb.jpg]

    in reply to: #28257
    peterlaursen
    Participant

    [attachment=1105:data.jpg]

    [attachment=1107:notepad.jpg]

    Images tell that SQLyog data grid handles these data but BLOB viewer does not and also Notepad (running on Danish system/locale) does not! I will have to discuss with colleagues tomorrow!

    But please still try to store something similar from SQLyog (type it!!) and tell if problem is reproducable. And tell how data got stored!

    in reply to: #28256
    peterlaursen
    Participant

    With hindsight .. something is very weird about that dump! Notepad cannot display the special characters. But PSpad can! I think this requires inspection in a hex-editor!

    in reply to: #28255
    peterlaursen
    Participant

    I believe this

    http://webyog.com/faq/content/34/152/en/my…-in-sqlyog.html

    is the problem! You have a table with a TEXT type defined as utf8 but strings stored in it are not uft8- (but likely latin2) encoded!

    (actually the FAQ describes the opposite situation: utf8 encoding stored in a non-unicode table, but problem is basically the same)

    It is your data that is the problem! Not how SQLyog displays them! Your data are not stored with the encoding specified as charset for the table/column! The Dump you are attaching is a utf8-encoded dump generated by SQLyog and you just need to view it in an utf8-enabled editor (like Notepad)! You can try dumping with 'mysqldump' as well (but do not trust phpMyAdmin in this repect!)

    What application stored those data? Did this application SET charset parameters (like SET NAMES etc.) properly?

    Refer to MySQL docs: http://dev.mysql.com/doc/refman/5.0/en/charset-syntax.html

    Actually we have one more report with this (latin2 encoding stored in a utf8 column) from latin2-land (I guess it was Poland last time)! Some popular application in Central Europe at the time? Anyway try to store some local strings with SQLyog (it does SET NAMES properly!)

    And one more FAQ link: http://webyog.com/faq/content/34/148/en/do…y-language.html

    You can correct by performing these 3 steps for every column affected by this:

    1) changing column to BLOB

    2) changing column to TEXT Latin2

    3) changing column to TEXT Uf8

    .. but I cannot guarantee that the application using the database will accept it like that!

    in reply to: #28117
    peterlaursen
    Participant

    … but with hindsight I am not sure that such measurements will make much sense as we do no know the connection quality from server to client. Anyway it would be nice to get direct contact to the people administering the site. I think we can arrange a ticket where they, you and we all have access. So it is fine if you prepare them for that!

    Also Monday is holiday in India and we will not be able to do anything here before after that.

    in reply to: #28116
    peterlaursen
    Participant

    yes .. I am referring to information provided by Navya.

    in reply to: #28238
    peterlaursen
    Participant

    Please specify what changes you did!

    in reply to: #28114
    peterlaursen
    Participant

    1) we have not been able to reproduce a significant difference in speed in 32 and 64 bit systems. Actually CSV-export is mostly faster for us on 64 bit systems than on 32 bits sytems (but will depend on hardware, configuration settings etc,. of course). As long as you have only tried a single 64 bit system it is not valid to claim that there is an issue on 64 bit systems in general.

    2) a client functionality will always be slower than a server functionality (also depending on the connection quality). The client (SQLyog) will request small pieces of information/data and 'aggregate' the output file. That does not mean that this could not be made more efficient!

    Now the situation is that you can reproduce this on a specific server and we cannot with what setups we are able to create. Was it possible that we have temporary access to that system?

Viewing 15 posts - 2,236 through 2,250 (of 7,398 total)