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

Forum Replies Created

Viewing 15 posts - 1,546 through 1,560 (of 7,398 total)
  • Author
    Posts
  • in reply to: Users Are Missing #30488
    peterlaursen
    Participant

    does this help:

    http://dev.mysql.com/doc/refman/5.1/en/resetting-permissions.html

    “Alternatively, on any platform, you can set the new password using the mysql client (or any client like SQLyog – my addition)… stop mysqld and restart it with the –skip-grant-tables option.”

    Now you can connect without password, add/edit users (with SQLyog or whatever). Now again start server normally.  But you will need privileges to stop and start MySQL of course.

    in reply to: Join Number & Text Columns Into One Column #30484
    peterlaursen
    Participant

    Just a link: http://dev.mysql.com/doc/refman/5.0/en/numeric-types.html says

    The FLOAT and DOUBLE data types are used to represent approximate numeric data values

    … and … 

    The DECIMAL and NUMERIC data types are used to store exact numeric data values

    in reply to: Join Number & Text Columns Into One Column #30482
    peterlaursen
    Participant

    As far as I remember MySQL will cast values to binary strings before comparison in such case. So you will need to use string functions (http://dev.mysql.com/doc/refman/5.0/en/string-functions.html) what seems quite tricky (= almost hopeless) here or use or cast to a numeric type that can be round()ed.

    Basically I also think the design does no seem to look very good. In MySQL it is common to ue a decimal(19,4) type for currency/money data and with FLOATING points variables you have the precision problem as described here: http://dev.mysql.com/doc/refman/5.0/en/problems-with-float.html .. so it is pretty much uncertain if a match will always occur when it should.

    Can't you use DECIMAL types for both columns? Or at least cast to DECIMAL before the match performed by JOIN the JOIN like

    Code:
    JOIN .. ON (cast(col1 as decimal(19,4)) = (cast(col2 as decimal(19,4))

    (note that I never tried something like it myself before so the syntax may not be correct or possible inside JOIN – so a little experimentation may be required).

    But idea is shown here in its most simple form:

    Code:
    SELECT ROUND(CAST(1.1111111 AS DECIMAL(19,4)),2)

    . First the original value is cast to a number (decimal) with 4 decimals that is next rounded to 2 decimals. Also always do this rounding as the very last step to avoid rounding errors. Using 4 decimal precision internally is a de-facto standard with financial systems that should return 2 decimals. That ensures 2 additional decimal positions to catch/eliminate/absorb accumulated rounding errors (what is normally sufficient with such systems).

    If we shall comment further we will need the CREATE TABLE statements and the query. Also understand that this is beyond normal product support so helping here will not be first priority. This is more a (My)SQL question than a SQLyog question

    in reply to: Sync Multple Tables Exclude Some Fields #30479
    peterlaursen
    Participant

    If 'field' means column here the answer is no.  SQLyog Data Sync will always sync complete rows.  For this you will need to write some kind of script/application, I think.

    in reply to: Table Data View Overflow Error #30476
    peterlaursen
    Participant

    We just discussed same a few days ago.  

    http://www.webyog.com/forums/index.php?showtopic=5045&st=0&p=21927

    in reply to: Link External Table #30478
    peterlaursen
    Participant

    I do not understand the question. All tables are external in the sense that they are stored on the MySQL server and not in SQLyog (the client). 

    With recent MySQL version there are 'federated' tables. refer to http://dev.mysql.com/doc/refman/5.1/en/federated-storage-engine.html

    .. and also note that this need to be enabled in configuration with some MySQL versions.  Ther is also a 'federatedX' 3rd party storage engine.  This one is better maintained than the official 'federated' one but only ships with patched/unofficial servers like MariaDB. 

    in reply to: Mysql Error: Show Profiles Nr: 1289 #30469
    peterlaursen
    Participant

    Only the Query Profiler will not display any information from SHOW PROFILE statement. But your server does not support it anyway.

    in reply to: Mysql Error: Show Profiles Nr: 1289 #30467
    peterlaursen
    Participant

    the only thing you can do is to got to tools .. preferences .. powertools tab .. enable query profiler group …. and here uncheck 'show profile'.

    in reply to: Wish: Edit Blob Field In External Editor #23927
    peterlaursen
    Participant

    People who use SQLyog will have one or more applications (web applications, adminsitrative applications etc.).  There is no need to use a GUI client (except for learning situations) if there is no other application – because there would be no data then.  The application(s) will be what *users* see – mostly only *maintainer(s)* will see data in SQLyog.  For that reason SQLyog will have to let data be *as they are*.

    Even this Forums itself would stop working if SQLyog changed data as stored by the Forums system.

    in reply to: #26188
    peterlaursen
    Participant

    Yeah .. and one good method is to write a query with a WHERE clause ..   🙄

    We have discussed GUI filtering on multiple columns before and did some research on different programs.  The conclusion from research we did at the time was that OpenOffice Base had the most usable filter dialogue (or at least the design that would fit best into SQLyog).  

    I also did not tell that we will never do it  – only we will add more single column filtering options soon.

    in reply to: #26186
    peterlaursen
    Participant

    We have discussed and we won't do like this.  It may work fine with a few columns, but consider what scrolling you will need to do if you have 200 columns. Besides it 'steals' space. There are other ways (check Office programs like MS Office and Open Office)

    We will add more filtering options in 2-4 weeks (but still only filtering on one column in the first place). What next is not decided.

    in reply to: Wish: Edit Blob Field In External Editor #23925
    peterlaursen
    Participant

    We cannot not change a single bit in a BLOB (and not zip it either) – for the simple reason that it is the server that stores data and not the client.  If we manipulate what is stored it will fail wiht other clients (like web applications).

    Did I mess something?

    in reply to: Chinese Text Displaying As ? #30465
    peterlaursen
    Participant

    Looks like you got a friend!  😆

    http://bugs.mysql.com/bug.php?id=50933

    peterlaursen
    Participant

    As told we plan to display RESULT tab in pages as default (similar to what DATA tab does) in next major release (5.3). This will eliminate the problem. 

    First beta will probably be available next week. Please check this out when available.  

    in reply to: Text Is Not Selected After Copying It #30458
    peterlaursen
    Participant

    Issue confirmed with Info tab – text mode.

Viewing 15 posts - 1,546 through 1,560 (of 7,398 total)