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

Forum Replies Created

Viewing 15 posts - 1,876 through 1,890 (of 7,398 total)
  • Author
    Posts
  • in reply to: Import Multiple Dumps #29152
    peterlaursen
    Participant

    There is no way I can think of using SQLyog. But there are lots of ways to append one text file to another (command line editors etc.).

    in reply to: Color Sqlyog? #29145
    peterlaursen
    Participant

    Not a new request. Refer to http://code.google.com/p/sqlyog/issues/detail?id=429 where I also added this post.

    You can check all isues registered in http://code.google.com/p/sqlyog/issues/list . It is a matter of priority. We think that there are more important issues pending (even though the current SQLyog interface/desing/GUI is still Windows 3.x/95 like).

    in reply to: Feature: Table Diagnostics Run Times #29148
    peterlaursen
    Participant

    OK!

    workaround: run the command from editor and MESSAGES tab will display the information.

    in reply to: Copy Table To Diferent Host Problem #29141
    peterlaursen
    Participant

    oops .. looks like some code is there from before 5.1 release!

    peterlaursen
    Participant

    The problem was that the 'position count' for a statement was inaccurate because of mismatch between windows linebreaks and unix linebreaks (rn versus n). This was fixed with the formatter like this (formatter inserted unix linebreaks between statements).

    Maybe the templates use unix-linebreaks (they are probably copied from some MySQL resource) and that could explain why it still occurs when inserting from templates. We will check!

    in reply to: Small Sql Formatter Issues #29139
    peterlaursen
    Participant

    Any idea if it is a problem with the COUNT() aggregate function only (and not constants for instance)? Anyway we will check this!

    in reply to: Linux Sja Return Code #29129
    peterlaursen
    Participant

    no – not to my best knowledge at least.

    We have other small requests for SJA (like –version parameter) so let us consider in this context.

    in reply to: Temporary Tables #29127
    peterlaursen
    Participant

    no …

    Actually there is no way to query the server about it. SHOW (FULL) TABLES, SELECT FROM INFORMATION_SCHEMA.TABLES etc. do not expose it. Temporary tables exist on a 'session-basis'. Actually you can have a (normal) table and a temporary table named the same what creates a very weird situation. Try this

    USE `test`;

    DROP TABLE IF EXISTS `t1`;

    CREATE TABLE `t1` (

    `id` SMALLINT(6) UNSIGNED NOT NULL AUTO_INCREMENT,

    `txt` VARCHAR(50) DEFAULT NULL,

    PRIMARY KEY (`id`)

    ) ENGINE=INNODB DEFAULT CHARSET=utf8;

    INSERT INTO `t1` VALUES (1,'a');

    CREATE TEMPORARY TABLE `t1` (

    `id` SMALLINT(6) UNSIGNED NOT NULL AUTO_INCREMENT,

    `txt` VARCHAR(50) DEFAULT NULL,

    PRIMARY KEY (`id`)

    ) ENGINE=MYISAM DEFAULT CHARSET=utf8;

    INSERT INTO `t1` VALUES (7,'x');

    SELECT * FROM `t1`;

    SHOW FULL TABLES;

    SHOW TABLE STATUS FROM `test`;

    DROP TABLE `t1`;

    SELECT * FROM `t1`;

    I reported this to MySQL as a bug 2-3 years ago. They classified it as a 'feature request'.

    What we could do however was to record *client-side* what temporary tables are in existence for the session. But we don't. And I do not think any client does.

    in reply to: On Update Current Timestamp #29117
    peterlaursen
    Participant

    No problem .. I give training courses in reading at 400$ per hour!

    Jokes apart: this is server behaviour: the first NOT NULL timestamp of a table will become NOT NULL CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP unless otherwise specified. As the FAQ tells we *could* add an ON UPDATE column to CREATE/ALTER TABLE grid. But as timestamps is the only data type where it applies currently, we have decided not to do now. Should the ON UPDATE option some day be added to more data types or should the MySQL timestamp implementation change we will do when we (or users) find it required.

    in reply to: Sql Formatter #29123
    peterlaursen
    Participant

    The query formatter works with SELECT, INSERT, UPDATE adn DELETE statements.

    If you have something like

    Code:
    CREATE TEMPORARY TABLE temptab as SELECT .. FROM .. WHERE .. GROUP BY .. ORDER BY …

    you may highlight the 'SELECT-part' with the mouse and this

    Code:
    SELECT .. FROM .. WHERE .. GROUP BY .. ORDER BY …

    .. will format from the context-menu. Same applies to SELECT-part of VIEW definitions. Of course we should extend this feature, but nothing is scheduled for Query Formatter in near future. SQLyog issue tracker is public ( http://code.google.com/p/sqlyog/issues/list ) and there are more things to do.

    in reply to: What Is This Called? #29122
    peterlaursen
    Participant

    I do not understand. The name of the databases are what SQLyog displayes (“test” etc.)

    In a SELECT statement like “SELECT * FROM Particulars”, 'Particular' is a table and not a database. You may write the full syntax like “SELECT * FROM somedatabase.Particulars ” or you may send a “USE somedatabase”.

    in reply to: What Is This Called? #29120
    peterlaursen
    Participant

    “infomation_schema” , “my_bd” , “mysql” and “test” are the databases on the server. If you click the + objects (tables and other objects) in each databases will show.

    “infomation_schema” and “mysql” are mysql system databases.

    “test” is a database that gets installed when mysql get installed. This is not impotant. Actually it is recommended to drop it on production servers.

    “my_bd” must be a database that you or some application-installer created.

    in reply to: #28411
    peterlaursen
    Participant

    errhhhh @gloryforixseal .. what are you talking about?

    peterlaursen
    Participant

    Host would normally be 'localhost' or '127.0.0.1' for a local machine. Using either of those will avoid any DNS lookup on a name server (on local network or Internet), so this will be prefered in comparison with using the LAN ip or global ip (and will/should also avoid issues with Firewall, SuSE AppArmor settings etc.)

    With the settings that you use now, what does 'test connection' in the SSH settings page return?

    (btw: I have an OpenSuSE 11 here myself but have not configured MONyog on it yet. I will try if if does not help what I wrote above)

    in reply to: On Update Current Timestamp #29115
    peterlaursen
    Participant

    “According to this FAQ I can do that by selecting CURRENT_TIMESTAMP and NOT NULL”

    NOPE! There is no option to 'select CURRENT_TIMESTAMP'. Do you mean you enter this in default coloumn?

    Please read the FAQ again! You shall ONLY check 'NOT NULL'. Do not enter any default at all and the server will make it like this (because that is default in MySQL from 4.1 for the first NOT NULL timestamp of a table)

    Code:
    `ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP

    [attachment=1200:create.jpg]

    [attachment=1201:result.jpg]

Viewing 15 posts - 1,876 through 1,890 (of 7,398 total)