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

Forum Replies Created

Viewing 15 posts - 2,281 through 2,295 (of 7,398 total)
  • Author
    Posts
  • in reply to: #28167
    peterlaursen
    Participant
    in reply to: #28190
    peterlaursen
    Participant

    We will not be able to finalize this before after the weekend. We will not attempt a 'hack'. We need to analyze in depth.

    And FYI: SJA will evaluate the WHERE_condition *on both hosts* (logically OR'ed). So maybe this WHERE is not relevant to use at all?

    in reply to: #28189
    peterlaursen
    Participant

    If you are in need of a workaround it will work to 'reorder columns' and move that TINYINT column to next-last position. Also change this TINYINT(1) to a plain INT will (at least they both did for me with my test case).

    But I also confirm that no such workarounds are required with 6.56.

    in reply to: #28188
    peterlaursen
    Participant

    Verified as described in your last post. Seems that something goes wrong with checksum calculation. We are debugging.

    in reply to: #28185
    peterlaursen
    Participant

    well .. actually cahngelogs for 7.15 reads “When a PK is built on a string column using a case insensitive collation, SJA could try to insert a row where the PK was identical to an existing one as compared “COLLATION-wise” (ie. when only LETTERCASE differed). That would result in ‘duplicate key’ error and the sync job would abort. We have now reverted back to case insensitive camparison with string-based PK’s as before 7.0, but (to avoid data loss/overwriting) we will abort sync of tables when a string-based PK uses a binary or case sensitive collation.”

    But you tell you have a smilar problem with 7.15! 🙁

    Can you paste the returns of CREATE TABLE for that table (for a start) ?

    in reply to: #28181
    peterlaursen
    Participant

    damn .. I exposed my password! 😎

    in reply to: #28180
    peterlaursen
    Participant

    We have more request for command line parameters.

    The main problem is the password. DQ described some of the problems (exposing). I want to add that if the server gets the password automatically and the client will receive passwords automatically too, there is not much security wiht that password I think! Passwords are intended to be memorized by humans (and only stored and communicated in safe environments!).

    But true that in some *security intensive* organisations passwords are replaced frequently (like weekly) and generated a way to ensure that they are 'strong'. I think certain security related certifications require that. That makes it tempting to automate the login to reduce the trouble when people forget”uA87#e.W”! But automating it client-side would largely reduce password security I think.

    I think best is MTFP: “Memorize That F.. Password”. And add some more mechanisms if required (biometrics, hardware based solutions).

    in reply to: #28184
    peterlaursen
    Participant

    I know/recognize this situation with SSH tunnel. I can reproduce it if all available bandwidth is occupied with downloads (or if my internet provider or telecom company has technical problems).

    Do I understand correctly that you experience this with direct connection too? I never saw it here (and it does not matter what tab is open when you connect. Settings in all tabs are considered no matter what!)

    The workaround I use when this occurs for me is to use HTTP tunnelling! There are no settings to modify the behaviour. PLINK defaults apply! If authentication has not succeeded in (I think) 10 seconds PLINK returns this error!

    We will probably soon replace PLINK with a compiled-in SSH library (what we already use in MONyog), what will give us more control. But *soon* is not *within weeks*.

    If you could create a support ticket and give us details for temporary access to this server we may find details about what is happening! But did you consider complaining about this to your hosting? Or just ask why it happens? Maybe they have some idea that this delay is a *security feature* ?

    in reply to: #28183
    peterlaursen
    Participant

    I am afraid we cannot implement text are selection in foreseeable feature. This will require a total replacement of the editor component in SQLyog and that we have no intention to do. We had this request before too.

    What about this:

    DROP TABLE IF EXISTS `sometable`;

    CREATE [temporary] TABLE `sometable` as SELECT {your select statement goes here – but use ALIAS 'insertstmts' for the concat'ed column};

    SELECT `insertstmts` FROM `sometable`;

    select text-mode in SQLyog and copy to the editor.

    or directly use a “INSERT INTO (columslist) SELECT …” if you do not need to review! If you need you can delete/update rows in SQLyog when viewing the temporary table.

    I think you should be able to automate it using a Stored Procedure or even a Event (in MySQl 5.1)

    I do not understand your situation so detailed that I can advice about other solutions. Generating INSERT STATEMENTS as strings with concat() seems a little *fancy* and indirect. There may be more direct solutions, but at least yours is a very creative one!

    One option you could look into is to use 'prepared statements' to build the INSERT as a user variable @stmt and next PREPARE and EXECUTE(@stmt). It is not much different from what you do, only the direct EXECUTE option is there!

    in reply to: #28173
    peterlaursen
    Participant

    When is a database full? The available disk space can be full!

    We had similar requests and questions lately. Currently we do not support this. The 'Disk Info' option in MONyog is a interactive feature only (the information will display when and only when some connected browser requests it), but there is no background thread running retiriving the 'Disk Info' data and no 'MONobjects' implemented that can be used in scripting.

    But it seems that users want this option in order to define an alert for size of data (for the whole server, a database or a table) to exceed a certain level. This will require one more thread running and will have 'cost' but after all we have computers to use them – not to spare them! So please let us discuss this. I think we will have to schedule the request in our future plans! I think there is no fundamental difficulty in implementing it!

    in reply to: Scheduled Backups Options #21741
    peterlaursen
    Participant

    well … individual objects can be selected for backup. Isn't that the same as an 'include list'? But 'exclude list' is not there!

    Also note that the selection wizard was improved since this post appeared first time.

    in reply to: #28158
    peterlaursen
    Participant

    This 'infoline' will be optional from 7.5 beta2.

    in reply to: #28111
    peterlaursen
    Participant

    But how can we explain 10 secs 'transfer' wiht a SELECT INTO OUTFILE statement? I do not understand this! But this is another issue than what Chrsto reports of course!

    in reply to: #28171
    peterlaursen
    Participant

    This is what we will have to consider!

    http://dev.mysql.com/doc/refman/5.0/en/charset-literal.html

    The full pattern for a literal string is “<_charset> 'string value' collate ;” (.. and 'x' can be replaced with 'b')

    “SELECT _latin1 x'AABBCC' collate latin1_danish_ci;”

    “SELECT _utf8 b'01100011' collate utf8_unicode_ci;”

    .. are valid statements!

    (and a small correction: it is the *connection* and not *client* character set settings (character_set_connection and collation_connection) that are default if not explicitly specified – but for the Formatter it does not matter really as we only handle the query as as a string pattern)

    I bet that this will not be the first detail that will be reported with the Formatter!

    in reply to: #28170
    peterlaursen
    Participant

    OK!

    OK .. string literals can always be specified like that it seems. Even this is valid:

    SET NAMES UTF8

    CREATE TABLE `t_utf8` (

    `a` varchar(200) default NULL,

    `b` int(10) unsigned NOT NULL auto_increment,

    PRIMARY KEY (`b`)

    ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8

    insert into t_utf8 (a) values (_latin1'bvadr');

    insert into t_utf8 (a) values (_latin1'öäü');

    select * from t_utf8;

    /*returns

    a b



    bvadr 1

    öäü 2

    */

    I believe it will be rather simple to identify a 'literal string* with the pattern “_*'literal string'”. We can hardcode _charsets too, but not all servers have the same charsets. And that is a problem!

    Also statements like

    select b'010101';

    select x'010101';

    .. do not work in formatter.

    So in conclusion there are issues with 'literal strings! We need to handle '_charset', 'b', and 'x' modifiers (and maybe more of the same). Also her that all sever vrsions do not have the same modifiers ('b' is only from 5.0)

    (and btw “1” and “2” are not aligned in text-mode in above example, what must be a bug too!)

Viewing 15 posts - 2,281 through 2,295 (of 7,398 total)