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

Forum Replies Created

Viewing 15 posts - 1,816 through 1,830 (of 7,398 total)
  • Author
    Posts
  • in reply to: Manage Privileges Not Working On Tables And Procs #29285
    peterlaursen
    Participant

    We will have to find out if this is a server-side or client-side problem (or both).

    Do you have access to another computer where you can install SQLyog and another server you can connect to? If you don't have already please try to install a MySQL server on your local machine.

    in reply to: Gibberish On Sqlyog #29304
    peterlaursen
    Participant

    You can try this;

    Code:
    SELECT HEX(somecolumn) FROM sometable WHERE somecondition

    The statement should return data from a single column/row combination containing a non-latin string. Next try to enter the expected non-latin string in a HEX-editor or just a 'hexdump' program of some kind (Linux 'hexdump' command for instance).

    If the SQL-statement and the HEX-editor does not return the same hexadecimal string then the data are not stored in the database as what you think.

    It may (depending on what exactly the issue is) be a workaround to use SQLyog 5.32 as before 6.0 we had an option to define client character set (after full unicode support in 6.0 that is not required – client character set is now simply always utf8).

    in reply to: Gibberish On Sqlyog #29303
    peterlaursen
    Participant

    and finally: If you dump a small table (with SQLyog or mysqldump .. not phpMyAdmin and other PHP-based tools) and open in an editor what does it display like?

    in reply to: Gibberish On Sqlyog #29302
    peterlaursen
    Participant
    in reply to: Gibberish On Sqlyog #29301
    peterlaursen
    Participant
    in reply to: Error No. 2005: Unknown Mysql Server Host #29296
    peterlaursen
    Participant

    Yes .. you are right – it is not authentication that is a problem. It is a DNS/routing problem.

    If you have a webserver locally with PHP + mysql extensions you can test that PHP script yourself. This is actually the only way I think. I think they overlooked something but trying the PHP script from your machine will tell.

    If you are not familiar with setting up such software stack you can let us try. However, we will need your details of course. You may crate a support ticket for privacy.

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

    You may have different usernames (for the account as such, for FTP and more). Are you sure you use the right one?

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

    This is as per design, has been asked dozens of time (please search before posting) and it is well documented too: Rows on either host having the same value for a Primary Key will be compared and for suchwill overwrite (or UPDATE using a SQL-term). What should else be the purpose of a Primary Key if it is not a unique identifcation of a row?

    The solution is to define the PK so that same value for the PK will not be created on both hosts. Two ways (at least) to do this:

    * use the autoincrement_increment and autoincrement_offset server variables to ensure that on one host PK's are EVEN and on the other ODD (you may use this if you have a PK on an autoincrement value)

    * or add to the current PK a constant column with different defaults on either host.

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

    It works fine for me on MySQL 5.1.36 (and any MySQL version).

    Is it this dialogue? It does not look like this for you?

    [attachment=1212:workshere.jpg]

    in reply to: Manually Paste Clipboard Data Into Results Window? #29276
    peterlaursen
    Participant

    It did capture as far as I can see. Formatting a little will show.

    UPDATE `students`

    SET `tag`='x',`last_name`='Onion',`first_name`='Suzy',`teacher`='Crabtree'

    WHERE `tag`='x' AND `last_name`='Onion' AND `first_name`='Suzy' AND `teacher`='';

    In the SET clause (new data) it reads …`teacher`='Crabtree'

    In the WHERE clause (old data) it reads …`teacher`=''

    … so the `teacher` column should change from '' (empty string) to 'Crabtree'

    What am I missing?

    in reply to: Manually Paste Clipboard Data Into Results Window? #29274
    peterlaursen
    Participant

    Of course it should make no difference how you enter data into a cell.

    1)

    Are you telling that with 'paste from clipboard' you get another behavior as compared to 'type with keyboard'?

    2)

    Is this UDATE statement correct (what you did)

    Code:
    UPDATE `students` SET `tag`='x',`last_name`='Onion',`first_name`='Suzy',`teacher`='Crabtree' WHERE `tag`='x' AND `last_name`='Onion' AND `first_name`='Suzy' AND `teacher`='';

    .. changed `teacher` from '' (empty string) to 'Crabtree'?

    (I still do not understand why you do not add an auto_increment PK to your tables. You will get lots of issues (example: no protection against duplicate rows) and bad performance!)

    in reply to: Sql Formatter #29269
    peterlaursen
    Participant

    We have already reported an issue with BETWEEN .. AND .. if the condition is AND'ed with another condition!

    Examples in this query

    Code:
    …. and t.field6 between c.field2 and ifnull(c.field3,now()) and c.field4 = 1

    and

    Quote:
    … AND i.field3= 4 AND DATE(t.field6) BETWEEN DATE(c.field4) AND DATE(c.field5)

    I cannot tell if this is the only thing. But the appropriate developer will follow up (and also check with '&&' and '&' (binary AND) operators)

    in reply to: Sql Formatter #29266
    peterlaursen
    Participant

    It would be easiest if you pasted the queries (or better: attach a .txt document with the original formatting).. We will not need any data. The text of the query itself is all we need.

    You may create a ticket if you want privacy – and rename databases, tables etc.if you want as long as it is reproducable.

    in reply to: SQLyog For Mac OS X #18574
    peterlaursen
    Participant

    There is no activity and no guarantee that there will ever be.

    It was more complicated that what we thought in the first place and we estimated that we could not afford the resources it would take. At least not for the moment.

    Also a deciding factor is that SQLyog runs fine on Darwine as described here: http://www.manu-j.com/blog/run-sqlyog-mac-os-x-wine/148/

    in reply to: Importing Sql With Blob In Phpmyadmin #29246
    peterlaursen
    Participant

    well .. we do not support phpMyAdmin here. We support our own programs. Was the dump created with SQLyog?

    You may read:

    http://www.webyog.com/blog/2008/07/29/phpmyadmin-for-sale/ .. what summarizes our position on that program. But if some other user can support this, then no problem with us.

    But I think it could very well be a encoding issue (file encoding, charset for the connection and/or browser encoding setting conflict). This “near 'PK'” seems to indicate such thing. Do you know how the file is encoded? Then select a corresponding encoding in the browser and also ensure that there is an appropriate SET NAMES statement.

    I suggest that you try to import SQLyog (with or without HTTP-tunnelling)

Viewing 15 posts - 1,816 through 1,830 (of 7,398 total)