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

Forum Replies Created

Viewing 15 posts - 2,131 through 2,145 (of 7,398 total)
  • Author
    Posts
  • in reply to: #28521
    peterlaursen
    Participant

    Comment to “when running large scripts …”. Every statement will have to be *executed* by the MySQL server. That takes time!

    in reply to: #28520
    peterlaursen
    Participant

    Same would apply to MySQL 'native' compressed protocol and compression of XML data stream with HTTP tunnel ('gzip' I think it is).

    I think it is largely uninteresting today with the current quality of connections (Gigabit LAN (and also and old 10Mbit LAN!), almost as fast WLAN, Mbits of Internet speed). The 'bottleneck' is most often not the connection but the MySQL server (or the webserver with HTTP tunnelling etc.). So using compression could actually very well slow down instead, as both server and client would need to use resources to compress and uncompress the data stream. So only in situatuations where the connection speed is the 'bottleneck' compression makes sense. If you occasionally should use SQLyog with a modem from a hotel room and such, that is another situation, of course! Provided that both server and client has non-used CPU resources available.

    Could you monitor your connection and see how much of you Internet bandwidth (and don't confuse with the netcard bandwidth!) is utilized when transferring data from MySQL. Often it is only around 10 % (and often even much lower with shared servers) so compression would not make things faster.

    But if MySQL 'native' compressed protocol and -C option with SSH is requested for good reasons I think it would be easy to implement. Compression with HTTP-tunnelling I think somewhat more demanding (not that it is difficult, but will take some time to build and test).

    in reply to: #27119
    peterlaursen
    Participant

    It makes not much sense to refer to Putty etc.

    Putty creates a *shell* not a *tunnel*. Well .. actually Putty can create a *tunnel* too, but normally when your use Putty etc. you will normally create a 'remote shell' and not a 'tunnel'.

    FAQ: http://webyog.com/faq/content/22/44/en/wha…_tunneling.html

    But now I understand that the 'proxy server' would be a HTTP-server. So the culprit is if a HTTP server (configured as a proxy) can forward tunnelling instructions to a SSHD daemon! It is not certain even not if you know that a 'remote shell' can be established like that – it is simply two different things). But I do not exclude the possibility either and I will let our networking specialists take over.

    in reply to: #27117
    peterlaursen
    Participant

    Well .. let us take a discusion about how this can be done and what you understand exactly with *support for proxy in SSH-tunnelling*.

    Compare with the proxy option in HTTP-tunnelling. Here you will connect to a HTTP server outside the firewall (or whatever system is used to establish a 'protected zone' of some kind). You connect to this one (we can call it the 'proxy machine') on the allowed proxy-port and the 'proxy machine' will then connect to the machine or network where MySQL is (and also using HTTP connection from 'proxy machine to the ('remote') machine or network where MySQL is). The HTTPD on 'proxy machine' will forward HTTP tunneling details the HTTPD on 'remote machine'. Such proxy functionalites are available in Apache (and possibly other webservers) and that is what we make use of.

    Now – how is this concept portable to SSH-tunnelling? Should I understand that SQLyog should connect using SSH to a similar 'SSH proxy machine' (running some kind of SSHD daemon) outside your 'protected area' and the 'SSH proxy machine' will connect to a SSHD instance on the machine or network where MySQL is (and also using a SSH connection from 'proxy machine to the 'remote'). The SSHD on 'proxy machine' would then forward SSH-tunnelling instructions to the 'remote' SSHD instance.

    Please confirm that that is how you understand it! And we will need to think about if one SSHD daemon instance can be instructed to forward SSH-tunnelling information to another SSHD daemon instance (and communicating this with SSH). I am not sure it can be done at all. Or it may require some special configuration on the 'SSH proxy machine'.

    in reply to: #28513
    peterlaursen
    Participant

    And one thing more:

    SQLyog sends SQL statments to the MySQL server. So it is (a sequence of) specific statement(s) that causes this. In HISTORY you can see what SQL was sent. So when that happens again you should copy the contents from HISTORY.

    You can paste it here, and it may give a clue – but it is more likely that the server admin will have to solve this. But also he will need the SQL to reproduce with!

    in reply to: #28519
    peterlaursen
    Participant

    It is no secret that we have a problem with this!

    Currently there is 'feedback' from the Object Browser to the 'dropdown' (if you select a dtabase in OB the dropdown will change, but not the other way around). If it was easy to solve we would have done long ago. Once that was done this request would not be hard either.

    But it is very complicated. I cannot explain in technical terms except that this is a basic problem with way the classes in our code are inherited (OB class is 'parent of all').

    I think I should not elaborate further myself. Maybe the development team can detail (or correct me).

    in reply to: #28511
    peterlaursen
    Participant

    does it happen with all tables on the *problematic* server?

    in reply to: #28514
    peterlaursen
    Participant

    Yes that is all – CSV import is supported by the server itself (LOAD DATA LOCAL INFILE …) so no additional client functionalities are needed!

    You can also use 'notifications services' with LOAD DATA LOCAL INFILE statement(s) if you want to schedule the import.

    in reply to: #28509
    peterlaursen
    Participant

    anyway we released 8.03 beta2 and you should be able to use your file from the editor as well now!

    in reply to: #28507
    peterlaursen
    Participant

    Yes .. a limit of 2 MB was introduced in 7.1x. It was not thought to be a permanent thing but was necessary as Scintilla (the open source library we use for the ediotor) could overflow what would lead to various type of memory corruption or a crash. In traditional C-code there is no runtime environment to handle such exceptions (unlike JAVA, C# etc.).

    However 2 MB is a very cautious setting. We will raise to 20 MB in next beta (expected today). It is a mistake that we did not document it and did not give priority to finding more info about this limit.

    But can't you run your file from tools .. restore from .. ?

    in reply to: #28501
    peterlaursen
    Participant

    Why do you request that? are you sure that what you are doing should not be done with Data Sync instead?

    Should we use singel INSERTs or BULK INSERTS if more than one row is selected?

    Should we us complete inserts or not (insert into table values (x,y) ) versus (insert into table (a,:cool: values (x,y)).

    (and similar questions apply to UPDATE whereI think it would be even more complicated)

    It will be very easily be very messy if we should make everybody happy.

    What I could image however was an option to populate the templates in 'paste SQL statements' with data from the currently selected row.

    in reply to: #28502
    peterlaursen
    Participant

    Well .. why not simply dumping the database (or doing some other kind of backup) before doing an software upgrade? And if something goes wrong just install the old software version again, reconfigure it and restore the database backup. You will be where you were before the upgrade.

    For instance if we upgrade this Forums system (or our FAQ, ticket or blog etc. system) we dump the relevant database(s) and make a temporary copy on the server of the folder tree where the code of this system resides. This is the simple way with web-based applications. It will result in some downtime of course while restoring if something went wrong.

    I cannot think of any way to 'rollback' except for using some (database and file system) 'snapshot' technology. Various solutions (for complete or partial disk or partition snapshot) exist depending on the platform, file system (and MySQL ENGINE used for the database part).

    But to use such you will probably need root/admin privileges to both the OS and the MySQL database (with shared (and even most 'managed') hosting I think it is out of question).

    in reply to: #28499
    peterlaursen
    Participant

    I am not a developer! I had enough after 5 months of RPG-coding on IBM AS 400 15 years ago. Life is simply too short for that!

    Jokes apart: I have added this to our issue tracker:

    http://code.google.com/p/sqlyog/issues/detail?id=1010

    in reply to: #28497
    peterlaursen
    Participant

    Obviously the divider will be unaccessible if results is hidden! My piont is that if divider was moved to very lowest position you can still use Ctrl+2. But you cannot see the effect of it! So if (an invisible and lowest positioned) divider does not respond to mouse, then try again after Ctrl+2!

    I am not sure though if invalid coordinates could have been created in the .ini and also not if such issue could have been fixed since 7.1x. We will of course check this.

    in reply to: #28495
    peterlaursen
    Participant

    The sqlyog.ini file is in user's 'AppData' folder (it was moved from program version 6.06 – for compatibility with Windows Vista/2008 'User Account Control' feature) – and also the AppData folder is a hidden folder unless you select to show hidden folders from Control Panel .. folder options.

    I understand that Ctrl+2 does not work. But I do not understand all this “… almost as if the result pane is hidden except that isn't … like the result pane is set to be very small in the toggled on state.”

    Are you sure that the 'divider' between editor and RESULT pane wasn't accidentially moved down to lowest possible position? (see image)

    [attachment=1132:dividerdown.jpg]

Viewing 15 posts - 2,131 through 2,145 (of 7,398 total)