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

Forum Replies Created

Viewing 15 posts - 1,726 through 1,740 (of 7,398 total)
  • Author
    Posts
  • in reply to: Sqlyog Adding 'use' Commands To Procedures #29996
    peterlaursen
    Participant

    When you create a SP you will do from the menu or Object Browser context menu. When I do, this template occurs:

    Code:
    DELIMITER $$

    CREATE
    /*[DEFINER = { user | CURRENT_USER }]*/
    PROCEDURE `visifire_faq`.`blah`()
    /*LANGUAGE SQL
    | [NOT] DETERMINISTIC
    | { CONTAINS SQL | NO SQL | READS SQL DATA | MODIFIES SQL DATA }
    | SQL SECURITY { DEFINER | INVOKER }
    | COMMENT 'string'*/
    BEGIN

    END$$

    DELIMITER;

    There is no USE statement I can see. What program version are you using? Maybe we did with earlier versions though.

    If I did not understand the problem, please detail.

    in reply to: Sja Sync Problem #29974
    peterlaursen
    Participant

    Frankly I rather believe that this user who claims that he edited data did not save his changes. I do no know what interface this user uses. It could be user's fault, a buggy client application as well as a transaction not committed (if transactions are used).

    in reply to: Sja Sync Problem #29973
    peterlaursen
    Participant

    I understand that this is the culprit of the problem: “I have some reports that the “order lines” are set back ie. the user alters the data on the server – and suddenly the data is reversed to is prior contents.” .

    What indications do you have that this is caused by SJA? You can verify what SJA does by running SJA with the option to generate a sync script. I suggest that you for a while run sync with both options: direct sync + sync script. If this occurs again check the lastest sync script generated.

    Do you need help to setup the XML job file with those options?

    in reply to: Some General Database Syncing Questions #29971
    peterlaursen
    Participant

    Please read this article:

    http://www.webyog.com/en/whitepapers/Using…L_Databases.pdf

    .. it is not up to date but basics are the same

    1) Yes .. the two MySQL servers and SQLyog can run on 1, 2 or 3 machines. Also you can sync two databases on the same MySQL server from SQLyog running on same or another machine

    2) In a recursive manner it will compare the content of source and target tables by generating checksums on CHUNKS of rows. It will identify rows that are different in the two tables and rows only existing in one. INSERT, UPDATE and (optionally) DELETE statements are next executed against target. A two-way sync will repeat the process twice (reversing source and target). It is very important that you understand how the Primary Key of the table is used. Basically two rows that have same value for the PK will be considered identical rows and target will be updated with data from source. The article has more details.

    3) This was partly explained in 2).

    However if you INSERT rows independently on both sides a PK-conflict may occur (I am not sure if I understand if this is what you plan). Two workarounds:

    a: define the PK such that the same PK value will never be created on both hosts – like ad a constant column to the PK where the constant is different on either host. This can be difficult with a standard application

    b: use auto_increment_increment and auto_increment_offset settings in server configuration to ensure that odd numbers for an autoincrement PK are generated on one host and even numbers on the other. This will require that you have privileges to edit server configuration.

    .. in practice it is best to avoid that the same row (as identified by the PK) on both servers is touched/UPDATED between two syncs (but there are scenarios where also this is possible if you use a: or b:). However you may for instance edit content one server and simultaneously content can be INSERTED on another server by other users.

    Except for reading the article practice it to understand! You can do with two servers installed on local machine and need only a single simple structurally identically table in each database.

    in reply to: #28355
    peterlaursen
    Participant

    But this is not implemented. What I wrote was an outline of what *could be* done. It will require

    1) a XML tag like

    2) Both the GUI wizard and the SJA.exe will need to handle this YES|NO logic

    3) *de-obfuscation code* must be compiled into SJA

    .. so *we* will have to do it – user cannot. It is not a very big deal really .. only one among a lot of pending requests.

    in reply to: Sql Dump Fails To Restore #29959
    peterlaursen
    Participant

    I also want to comment on your extensive use of DOUBLE types. DOUBLE's (and FLOAT's) have significant numerical non-precision. Most often a DECIMAL is a better option if values stored are not in 'microscropical' or 'astronomical' range. For MONEY/CURRENCY and similar data I think a DECIMAL(19,4) is normal recommendation.

    FLOATING POINT types in MySQL create problems. Refer to: http://dev.mysql.com/doc/refman/5.0/en/pro…with-float.html

    But no excuse for a possible bug in SQLyog of course!

    in reply to: Sql Dump Fails To Restore #29958
    peterlaursen
    Participant

    You are right: BULK INSERTS is default – for the same performance reason as you mentioned here. Large backups with SINGLE INSERTS are hopeless to restore.

    My best guess/theory still is that we calculate column length() client-side and not server-side. The length of a DOUBLE(24.8) with a value of “2.1” would be calculated as 3 bytes long when calculated client-side, but 10 bytes long (“2” + “.” + [8 decimals]) when calculated server-side. For each occurrence of such type in a BULK INSERT statement we will accumulate a calculation error of 7 bytes (if my theory is correct).

    But please let developers check this theory of mine tomorrow.

    in reply to: #28353
    peterlaursen
    Participant

    There is no such option currently. Only in the sqlyog.ini we obfuscate.

    in reply to: How To Install Monyog #24244
    peterlaursen
    Participant

    “Only Red Hat based RPM packages are available for download” + the .tar.gz build of course that will work on all Linux systems

    in reply to: V8.12 Windows Vista Business #29401
    peterlaursen
    Participant

    It really looks like an issue with your keyboard (hardware/driver).

    1) Do you have an option to try another keyboard?

    2) Can you remove the driver and restart Windows. The driver will be reinstalled.

    3) Is you keyboard a 'plain' Windows keyboard or something special using a special driver?

    in reply to: V8.12 Windows Vista Business #29399
    peterlaursen
    Participant

    Please check 'my controls' link on top .. Edit Personal Portal Information .. notification options. Also ensure that your email is correct.

    in reply to: V8.12 Windows Vista Business #29396
    peterlaursen
    Participant

    Plese also provide details for 'system.dll' on your system (time of creation, size). It works fine here whne we isntall the OS from an official Microsoft DVD. It some PC-vendor ship a prepackaged OS with incorrect or defect system files we cannot do anything about it. Have you tried to contact the PC-vendor for information about similar issues and a possible update? (Systems with prepackaged Vista Business seem to be somewhat a problem – as told we found invalid .dll's on Dell systems with prepackaged Vista Business).

    in reply to: V8.12 Windows Vista Business #29394
    peterlaursen
    Participant

    The test engineer who has been working with this is not here today. I will ask him to update here tomorrow.

    in reply to: #27484
    peterlaursen
    Participant

    not yet.

    in reply to: V8.12 Windows Vista Business #29391
    peterlaursen
    Participant

    I am sorry but there is no .dmp file!

    It can be a little tricky

    1) you must ZIP the .dmp (always archive binary files – .zip, .rar, .7z, .tar.gz etc.)

    2) next *select* it

    3) next *upload* it

    4) finally use 'manage attachments' and click the '+' symbol for the file and the link will be pasted into the post.

Viewing 15 posts - 1,726 through 1,740 (of 7,398 total)