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

Forum Replies Created

Viewing 15 posts - 1,636 through 1,650 (of 7,398 total)
  • Author
    Posts
  • in reply to: (Different) Chinese Characters Encoding Problem #30226
    peterlaursen
    Participant

    .. but if “Adding a 'SET NAMES=UTF8' to the top of the dump file.” helps, the answer is there already.  Data in the file are utf8-encoded, there is no SET NAMES=UTF8' to the top of the dump file and server default is not utf8.

    With what program do you create the dump? There is no option to let it 'SET NAMES=UTF8' to the top of the dump file?

    SQLyog imports run in a seperate connection so 'SET NAMES=UTF8' in the editor will not help. The FAQ documents:

    http://webyog.com/faq/content/34/148/en/do-i-need-to-set-names-to-display-characters-of-my-language.html

    “However if you execute a SQL-script from a file you may include a SET NAMES statement in that file. You will need to do if character data in the file are not encoded with the server default charset. When SQLyog executes an external file, a separate connection is created for that and SET NAMES in that file will not affect the connection that the GUI uses. SQL scripts generated by SQLyog are UTF8-encoded and the file contains a “SET NAMES utf8″ statement. But if the script is generated with another program it is not necessarily the case.”

    However it would be no technical difficulty to add an option for user to specify query(ies) that could be executed in the import thread before executing the file. Is that what you request?

    in reply to: (Different) Chinese Characters Encoding Problem #30225
    peterlaursen
    Participant

    You will need to post an example dump that fails to import properly.

    in reply to: Enable Show Profile? #30220
    peterlaursen
    Participant

    The underlying bug with the MySQL 5.0 server (an undocumented server variable) is described and verified here:

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

    As long as server supports SHOW PROFILE it is not a problem, but if it does not it is with SQLyog 8.x before 8.17

    in reply to: Enable Show Profile? #30219
    peterlaursen
    Participant

    Please execute

    1) SELECT VERSION();

    2) SHOW VARIABLES LIKE '%profil%';

    .. and tell the output from both

    But if server is not compiled with SHOW PROFILE option you cannot retrieve such information from the server.  In preferences you can disable it. Please see image.  

    [attachment=1309:profile.jpg]

    You can read here about the MySQL 'profiler': http://dev.mysql.com…y-profiler.html (Schumacher was a MySQL executive)

    It was introduced in 5.0.37 but it is optional if the server is compiled with the option (but if it is not it is likely a mistake by the person (not updating his knowledge about MySQL) compiling the server you are using (tell your server admin to ./configure with –with-profiling option whne building on Unix/Linux). Official MySQL binaries have the option and it is very useful if you want to know where the server spends time when executing a query).

    Also what SQLyog version are you using? Release notes for 8.17:

    “When connected to a 5.0 server compiled without PROFILING option and with Query Profiler/SHOW PROFILE feature enabled SQLyog would still send PROFILING-related queries. It was not properly detected that the server did not support this. MySQL versions from 5.1 and up (also when compiled without PROFILING option) were not affected.” So upgrading to SQLyog 8.17 or higher should also solve this.

    in reply to: Limit Resultset In Sqlyoq #30216
    peterlaursen
    Participant

    And “then see some real time about Sending data in Profiling?”.  If I understand what you mean it is not possible with MySQL.  

    The server has no support for retrieving profiling, debugging etc. data in 'real time' On the opposite the MySQL client/server protocol is not multithreaded.  There is one thread on the server for each connection. When a client has sent the a query it has to wait for the result (or an error) to be returned. The client can only wait for response once it has sent a query to the server. Having multiple queries running at a time for a single connection is not possible. And one connection cannot retrieve such information about other connections.  There is no such API providing internals about such MySQL server internals (for debugging, measuring or whatever) while query is running. We can only retrieve differences of server variables, Information_Schema etc. content before and after executing only and compare. 

    You can see in HISTORY tab what queries actually send to retrieve all PROFILING results. Try a plain query with profiling OFF and compare with one or more profiling options ON. Note than ONE query finishes and next we execute another one.

    I wonder if you you have a SQL Server background?   

    Anyway I still do not understand what you want to do and why.

    in reply to: Limit Resultset In Sqlyoq #30215
    peterlaursen
    Participant

    You can SET SESSION|GLOBAL VARIABLES from any client (if user has privilege).  But I do not know what buffer you are referring to.  If it is Query Cache you can use SQL_NOCACHE in the query.

    in reply to: Limit Resultset In Sqlyoq #30213
    peterlaursen
    Participant

    “is some possibility in SQLyog to execute all query but in result window see only 100 first rows ?”. Short answer is NO.

    You have a very valid point that adding a LIMIT transparently for user may lead to misleading PROFILING results. That we will have to consider with the implementation.

    peterlaursen
    Participant

    Please understand what I wrote about FLOATING POINT datatypes and also please tell the output from “SHOW CREATE TABLE that_table;”

    in reply to: Sqlyog Reconnected #30204
    peterlaursen
    Participant

    The connection to the server gets closed before result is received. Even with very simple queries. The error is generated by the MySQL client (C-API/libmysql) compiled inth SQLyog. Note that this means that is is official MySQL code that returns the error – not our code (all 4 digit errors are MySQL serrros – 1xxx are server errors and 2xxx are client errors. Any client would face same issue when connecting to/from same host.  Could you verify by trying another client (Query Browser for instance) on same machine as SQLyog ?

    I do not think it is an issue with MySQL, but rather a networking issue.  Do you know of any changes in the setup?  New routers/switches/firmware etc. ? Same host as always? 

    Also if you have an option to try another server could you see if it repeats itself with another server.

    If we can have access to this server we can try from our end.  We will net need access to data.  Create an empty database (or with a small silly table we can test with) and a user who only has access to this database.  Post authentication details in a ticket for privacy.

    By I am as sure as can be, that this is not an issue with SQLyog, and it is accidental that the problem occurs at about same time as you upgrade the program. This should rather be communicated with the support on the host (but before doing so it is a good idea to verify that not only a single program is affected).

    A few links to other people facing this problem (but you will find lots similar):

    http://www.vbulletin.com/forum/showthread.php?48697-Error-2013-but-server-up-for-6-days&postid=310265

    http://veblog.wordpress.com/2007/07/31/mysql-error-2013/

    in reply to: Sqlyog Reconnected #30200
    peterlaursen
    Participant

    error 2013 is described in MySQL manual here: http://dev.mysql.com/doc/refman/5.0/en/error-messages-client.html#error_cr_server_lost

    You tell that this happened after upgrade – but are you sure that not the old version has the same problem? If you have the older version (btw: what was it?) could you try install it again?

    You can also tell the server version (though probably not important)

    peterlaursen
    Participant

    Sorry that I did not think about this before, but it is likely an issue with FLOATING POINT datatypes.

    Please read:

    http://dev.mysql.com…with-float.html

    http://www.webyog.com/faq/content/29/162/en/tables-with-floating-point-datatypes-fail-to-update.html

    “When using Floating Point datatypes there should always be a PK based on non-floating column(s) and the PK-column(s) should be included in every SELECT generating a result set used for updating the table.”

    in reply to: Sqlyog Reconnected #30197
    peterlaursen
    Participant

    We need to analyze the issue. Since 8.13 this error will only rarely come in HISTORY if SSH-tunnelling is not used.

    We will provide you a special build that logs details like which error of MySQL caused this reconnection, query executed. Since you are getting this issue without SSH, we will provide you a Community build. Download from: 

    http://www.webyog.com/downloads/betas/not_released/SQLyog821.3Community.exe

    (note that you do not need overwrite existing installation.  You can install to a seperate folder)

    Please reproduce the case and attach the log file created.

    The log file name is (for unknown reason) 'slow_log.log' and it is stored in users 'AppData' folder (where also the sqlyog.ini file is).

    You may create a ticket for privacy, of course.

    peterlaursen
    Participant

    btw: are you perfectly sure that the data you delete are not inserted again by another client?

    in reply to: Sqlyog Reconnected #30191
    peterlaursen
    Participant

    Are you using SSH-tunnel?

    peterlaursen
    Participant

    Please also try to omit the GLOBAL keyword- ie. only “SHOW VARIABLES LIKE 'autocommit';”.

    I do not remember details with MySQL 4.1 (it is old now) and I do not have one here.

Viewing 15 posts - 1,636 through 1,650 (of 7,398 total)