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

Forum Replies Created

Viewing 15 posts - 1,501 through 1,515 (of 7,398 total)
  • Author
    Posts
  • in reply to: Rfe: Allow Easy Multiple Selection In "manage Privileges" #30653
    peterlaursen
    Participant

    One of those small request of which we have around 200 that we are trying to catch up with. 

    It is already registered here http://code.google.com/p/sqlyog/issues/detail?id=1100&q=shift. 

    in reply to: Manage Privileges Doesn´t Like Backslash #30643
    peterlaursen
    Participant

    I wish I knew the answer but I am confused myself.  It seems that even MySQL people are. Please read: http://code.google.com/p/sqlyog/issues/detail?id=100

    In strings “_” is an escape sequence for “_”.  Plain “_” (without “”) is a wildcard substituting a single character.  So what PLESK aims to do on your server is probably to create/insert “example_com”. 

    The ultimate test would be to execute

    SELECT HEX(`user`) FROM `mysql`.`user` WHERE `user` LIKE '%_%' 

    (I think the LIKE clause must be specified like this)

    .. and next inspect the HEX pattern and see if the “” character is stored or not.  It may depend on server version.  If the “” is not stored what we display is correct. But it looks like we forgot some escaping here ourselves when updating the user.

    I have never observed such users created on our own PLESK managed servers.  Can you provide more details of this (when it does, why it does etc.)?

    in reply to: Sja On Ubuntu #30633
    peterlaursen
    Participant

    Please provide more details about this “Ubuntu VPS”.  There are more providers offering this.  Also ensure that you are running the command from where the SJA executable is (since you are specifying the path as “./” ).   Finally try the full path to SJA in the command.  

    Not sure, but I expect that it could be a symlink issue of some kind with this VPS setup.

    in reply to: Strange Behaviour Querying Mysql.user #30623
    peterlaursen
    Participant

    “The problem seems to be caused by copying the first statement and inserting it”

    Also this I tried. I get consistently the same response for both statements

    in reply to: Strange Behaviour Querying Mysql.user #30622
    peterlaursen
    Participant

    It is not reproducible for me with servers 5.0.90 and 5.1.45 0n Windows and 5.1.32 on Linux.

    MESSAGES tab output on Windows (with default 'lower_case_table_names' setting):

    Quote:
    (0 row(s) returned)

    Execution Time : 00:00:00:000

    Transfer Time  : 00:00:00:000

    Total Time     : 00:00:00:000

    (0 row(s) returned)

    Execution Time : 00:00:00:000

    Transfer Time  : 00:00:00:000

    Total Time     : 00:00:00:000

    On Linux: 

    Quote:
    Query : SELECT * FROM USER WHERE USER = '456'

    Error Code : 1146

    Table 'mysql.USER' doesn't exist

    Execution Time : 00:00:00:000

    Transfer Time  : 00:00:00:000

    Total Time     : 00:00:00:000

    Query : SELECT * FROM USER WHERE USER = '456' LIMIT

    Error Code : 1146

    Table 'mysql.USER' doesn't exist

    Execution Time : 00:00:00:000

    Transfer Time  : 00:00:00:000

    Total Time     : 00:00:00:000

    (obviously as table names are case sensitive on Linux as default, but not on Windows)

    1) Please tell: on what platform is the server running?  

    2) Could you try a more recent server?  5.0.32 is very old and rather buggy. 

    3) You may `backquote`the table name `user`. SQLyog will not capitalize inside (back)quoted strings. 

    4) Also you may turn off the 'auto capitalization' feature from 'preferences' 

    Also see attached screenshot from autocomplete CTRL+SPACE popup.  It tells that 'user' is 1) a keyword 2) a function 3) a table name and 4) a column name.  And in your settings you have selected to capitalize functions automatically.

    [attachment=1353:user.jpg]

    in reply to: Client Option: –Enable-Comments #30631
    peterlaursen
    Participant

    If I execute

    Code:
    DELIMITER $$

    CREATE PROCEDURE `test`.`sp1`()

        BEGIN
    — do nothing at all
       END$$

    DELIMITER ;

    and next 

    Code:
    SHOW CREATE PROCEDURE sp1;

    I do get

    Code:
    CREATE DEFINER=`root`@`localhost` PROCEDURE `sp1`()
    BEGIN
    — do nothing at all
        END

    .. returned, what means that the comment is stored in the database . Also all 'mysql' client command line parameters do not apply to the C-API (SQLyog does not use the 'mysql' client). Please explain the problem so that we can understand.  And also tell the server version.  Early 5.0 servers had lots of bugs in this respect.

    in reply to: Confusing Message From Sqlyog Migration #30615
    peterlaursen
    Participant

    If this is data specific we need a test case with data.  But if the ODBC driver does not return a reasonable error message or error number, I cannot guarantee anything.

    Could you try to find more information? Like locate that row (and maybe even try to delete it temporarily)?  Also tell the exact driver version?

    in reply to: Sqlyog Performance #30612
    peterlaursen
    Participant

    It may/will speed up to install SQLyog on one of the server machines. I cannot tell how much but it eliminates one network connection.  

    Also the speed issue may equally much (or more) be an issue with ODBC/the ODBC driver (and how efficiently it uses a network connection) than with SQLyog itself.  Is SQLyog slower when reading the data than other programs connected using ODBC (Access, Excel for instance)?

    If you want us to comment more in detail on your speed issue, we need a test case or at least some numbers and other details like table structure, KBs/MBs transferred, number of rows, whether you use any 'advanced' options (WHERE, TRIGGERS), the type and speed of network etc.

    You are welcome to try all scenarios while testing this using the copy that you have.   Please share your findings here!

    in reply to: Bug: Schema Sync Produces Errors #30608
    peterlaursen
    Participant

    I guess that server “forgot” the USE statement that we sent earlier.  I remember that could happen with early 5.0 servers.

    Please also tell how much time it takes for SQLyog to generate the sync script with your example. 

    in reply to: Feature Request: Remove The "info Bar" #30605
    peterlaursen
    Participant

    The reason is that (error) messages will now appear there (rightmost in the info bar).  There is no room in the icon bar any more.  

    in reply to: Howto Rename Database… #20549
    peterlaursen
    Participant

    But 'rename database' is not supported in MySQL.

    in reply to: Sync Databases With Overlapping Primary Keys #30604
    peterlaursen
    Participant

    Please details “it errors out on duplicate primary key entries”.  Exactly what error do you get?

    It he problem is that for rows with identical PK-values 'source will overwrite target' then we have replied to this questions many times now.  The purpose of a PK is and always was to identify rows uniquely. All reasonable sync tools assume this and even the SQL language itself does in some contexts (example:  INSERT ..  ON DUPLICATE KEY …).  Sync'ing means “making identically identified rows identical”.  In that case you will need to define the PK in such a way that the same PK-value is not created on different hosts. At least two ways to do this:

    1) Add a column to each table, make it constant on each host (ie: define a DEFAULT) but different between hosts.  Add that column to the PK.

    2) Define auto_increment_increment and auto_increment_offset server variables so that auto_increment values will be created as even values on one host and odd values on the other (or start with “1” on one server and “1000000” on the other. This requires of course that the PK is an autoincrement column.

    If you have started collecting data both solutions will require some work – in particular if you have Foreign Keys to the PK.

    in reply to: Setting Defaults #30570
    peterlaursen
    Participant

    However if you have defined server default as utf8/innodb databases and tables may have other defaults (for instance if you have imported your data from an older installation using latin1/myisam.  Server/database character settings for charset are only defaults. As are server/database settings for storage engine. The defaults may always be overridden at lower level (ie: you can have a latin1 table in a database that has default utf8).

    SQLyog will dump data as they are stored.  All backup tools will. The setting in SQLyog 'secheduled backup' is a setting of how the exported file shall be encoded ONLY.  The interactive export tool will always use utf8-encoding. Only if you need to read the file in some non-unicode editor you will need to use this option. 

    in reply to: Ssh Tunneling Problem #30577
    peterlaursen
    Participant
    Quote:
    SshForHost=22 (here always 22 – at a old config there is localhost –> bug ???)

    Can you try to change from '22' to 'localhost'.

    in reply to: All Rows Or Rows In A Range Table Defaults #30574
    peterlaursen
    Participant

    you have a point.  we will discuss.

Viewing 15 posts - 1,501 through 1,515 (of 7,398 total)