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

Forum Replies Created

Viewing 15 posts - 1,801 through 1,815 (of 7,398 total)
  • Author
    Posts
  • in reply to: Searching Database #29319
    peterlaursen
    Participant

    There is no such construction possible in SQL. In SQL you “SELECT some_colums FROM a_table” basically. But it would be possible of course to loop through all possibilities with some code. This is what you would typically write a client script or a Stored Procedure to do.

    in reply to: Feature Request: Autocommit In Database Backup #29317
    peterlaursen
    Participant

    My mistake .. you were referring to backups.

    We have this option in 'scheduled backup' – please see attached. The interactive backup feature from database/table menu/context menu we try to keep as simple as possible.

    [attachment=1216:scdback.jpg]

    in reply to: Feature Request: Autocommit In Database Backup #29316
    peterlaursen
    Participant

    but there is a cosmetical issue with a semicolon!

    in reply to: Feature Request: Autocommit In Database Backup #29315
    peterlaursen
    Participant

    We have been doing this for the last 6-9 months already. Just use the option to 'generate sync script' and you will see. Doesn't it? What version are you using?

    (and there is not need to SET AUTOCOMMIT=1 at the end because it is a SESSION variable and Data Sync runs in a seperate connection. But we do COMMIT.)

    A very simple sync job involving a single table with 8.13 beta:

    /*

    Copyright© Webyog Softworks Pvt. Ltd. All Rights Reserved.

    MySQL – 5.0.83-community-nt

    *********************************************************************

    */

    /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;

    /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;

    /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;

    /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

    /* SYNC DB : ******* */

    SET AUTOCOMMIT = 0;

    /* SYNC TABLE : `*******` */

    insert into …..

    COMMIT;

    /*!40101 SET SQL_MODE=@OLD_SQL_MODE */

    ;/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;

    /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;

    /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

    in reply to: Suggestion: Filter For Tables #29314
    peterlaursen
    Participant

    I have added this request here:

    http://code.google.com/p/sqlyog/issues/detail?id=1119

    Except for features in progress next version (8.13) is now frozen. So only after 8.13 release we will decide what should be next.

    in reply to: Script Stop Working! #29312
    peterlaursen
    Participant

    It simply looks like the query returns an empty resultset! We cannot comment more as we do not have the data.

    I do not understand 'preinstalling Windows' .. do you mean 'reinstalling Windows'? The only think I can think of is lattercase problems with databasenames and tablenames. Maybe the 'lower_case_table_names' variable has changed?

    (read http://dev.mysql.com/doc/refman/5.0/en/ide…nsitivity.html).

    I think you will need to 'break down' the query: first try one join, next another and next both.

    in reply to: Connection Dialog Forgets Saved Password #29311
    peterlaursen
    Participant

    The password (if saved by user) is stored in the sqlyog.ini file on local machine. So this is not server related. It must be a de-obfuscationg failure when we read the file. As you experience this wiht specific servers it may be an issue with specific connection names.

    Best of all was if you could send the sqlyog.ini file to us when it appears. Don't attach here but create a private ticket. And yes .. we will be able to connect and even reverse engineer the passwords. But we need such testcase. However maybe details for a single [connection] section in the file will be enough.

    in reply to: Deleting Data From Table Error #29310
    peterlaursen
    Participant

    You should have a primary key in the table!

    Please read: http://www.webyog.com/faq/content/28/70/en…tabase-why.html

    (this FAQ describes UPDATE statements, but DELETE statments are exactly the same).

    Dublicate rows is a mess and a Primary Key in the table would avoid the situation to appear. But does not SQLyog prompt a warning dialogue for you?

    in reply to: Need Help #29305
    peterlaursen
    Participant

    REPLACE .. SELECT .. explained here: http://dev.mysql.com/doc/refman/5.1/en/replace.html

    REPLACE [LOW_PRIORITY | DELAYED]

    [INTO] tbl_name [(col_name,…)]

    SELECT …

    .. but the problem is that the SELECT part of your statement is not a valid SQ-statement.

    Try

    1) using *full syntax* like tablename.columnname for every column in the SELECT-part

    2) what is the silly paranthesis before 'combat_reach' supposed to do?

    3) the table-list must be seperated by commas

    like

    REPLACE table_1 (col_1, col_2, col_3)

    SELECT table_x.col_m, table_y.col_n, table_z.col_o

    FROM table_x. table_y. table_x

    in reply to: Auto Display Of Fields Quit Working #29306
    peterlaursen
    Participant

    It works fine for me with both the database level and table level.

    Do you have 'autocomplete' enabled in prefrérences?

    Autocomplete is an ENTERPRISE-feature.

    [attachment=1214:ac.jpg]

    [attachment=1215:ac2.jpg]

    in reply to: Compare Before Syncing #29308
    peterlaursen
    Participant

    There is no tool in SQLyog doing this. The closest is the 'import external data tool' what you may use with the WHERE-clause option.

    in reply to: Sync Sql Yog 5.051 With Windows Server 2007 #29198
    peterlaursen
    Participant

    We will try to find out!

    Now I understand that you are not using the Data Sync feature. Your are exporting tables, right? That is how I understand “The problem is that I try to export my databaze like a query with all of tables make in txt.notepad fail and when I execute the query there are tables, but the data in them fail to read!”

    When exporting there is an option only to export 'structure only' or 'structure and data'. Ensure that you have checked 'structure and data'.

    Can you attach some screenshot of what you are doing and an exmaple of such file? It will only have to be a small one. But we need to be sure we understand!

    It is always most appropriate to use the latest version with a very few exceptions like:

    * to run SQLyog on Win 9x/ME you will need 5.x

    * to run data sync involving a 3.x or 4.0 server you will need 6.x

    * to work with non-unicode data stored on 3.x or 4.0 servers on a client machine running a LOCALE setting not matching the language of datayou will need 5.x (This seems to be a particular issue in Hong Kong where users will mostly use an English client system and still work Chinese data. But NOTE: only if data are stored with a non-unicode charset in a server before 4.1 it is an issue).

    (all those exceptions are related to old software (Windows and MySQL) that are now out of support).

    in reply to: Manage Privileges Not Working On Tables And Procs #29287
    peterlaursen
    Participant

    1) Is there a chance that the two machines you have tried have the same software installed causing this?

    2) Was it possible to arrange temporary access to MySQL for us to one of those machines?

    in reply to: Error No. 2005: Unknown Mysql Server Host #29298
    peterlaursen
    Participant

    http://www.webyog.com .. about us .. contact or directly here: http://www.webyog.com/support/ttx.cgi

    in reply to: Twoway Sync With Sja(linux) Doesn´t Work #29292
    peterlaursen
    Participant

    “Server 2 is like a Mirror of Server 1 and vice versa” .. *vice versa* is the problem!

    SQLyog data sync is not based on timestamps. It compares rows on both hosts (and considers rows with same PK-value identical). Only solution is ensure that the same PK-value is not created on both hosts. I described two ways to do this (one using server configuration options, another to define the PK on more columns where one has a (different for each host) constant value).

Viewing 15 posts - 1,801 through 1,815 (of 7,398 total)