Forum Replies Created
-
AuthorPosts
-
peterlaursen
ParticipantHallelujah ? 😆
peterlaursen
ParticipantYou use DECLARE HANDLER syntax.
Examples in MySQL documentation here: http://dev.mysql.com/doc/refman/5.0/en/declare-handler.html
(and btw: I think you should start your questions in a new thread and not use the threads of other people)
peterlaursen
ParticipantIn Wine you use Windows file syntax and not Linux/Unix file Syntax. It will map a 'drive C:' somewhere in your home folder (and your home folder itself will be mapped something like 'drive Y:'). As also the SQLyog installer runs in Wine (and not directly in Linux), the installer itself will use Wndows file syntax too.
You can start the 'wineconfig' utility from Linux shell to see and change those mappings.
But as Manoj told you can leave the installer defaults. Also in the Linux file manager you are using (Konqueror of whatever) you can select to 'show hidden folders and files' and the “.wine” folder (with subfolders like 'program files' etc.) will be come visible in your home folder (it is nice to see what is happening!).
peterlaursen
ParticipantWe will try hard to reproduce this on Monday! On Win 7 RC (64bit) and SQLyog 8.1 beta I cannot reproduce!
peterlaursen
ParticipantIt is not reproducable for me with 8.1 beta1. I had a varchar containing 'b'. I change from RESULT tab to 'c', saved, changed to 'd', saved, reran query. It displays 'd'.
Maybe you should elaborate (post CREATE TABLE statement and tell what column you are editing).
peterlaursen
ParticipantIt is available (named: 'Schema Designer') in the ENTERPRISE edition since version 6.1.
peterlaursen
ParticipantI only want to add that the reason why the RESULT tab opens in read-only mode is that with queries using JOIN (or UNION) the same column-name may exist in more than one table. The result set has no info about from what table every row in the result set! That is why user will have to decide what table to work on. SQLyog has no information from the server that can be used.
peterlaursen
Participantadditionally: the option *to* or *not to* 'automactically . etc.' was added after requests from users working with large datasets from remote servers. It can take some time to populate the DATA tab. So now users can choose what they want in this respect!
peterlaursen
ParticipantOK .. but how will you be able to predict in what order will MYSQL return rows? There is a LIMIT clause but no ORDER BY.
peterlaursen
ParticipantOK .. I realize you need a single “” written to the file for this. We will have to find a solution!
In the meantime you cannot 'search and replace' “\” with “” somehow?
peterlaursen
ParticipantIf a string contains only a single '' it would simply be stripped away by the server in most cases. So if a windows file path in a CSV files used '' only you will not be able to import to MySQL correctly. MySQL requires that the '' character must be escaped inside strings, because the 'backsash' character is an escspr character itself. When you import such CSV file the server will strip one of the 's before storing.
So what is see in DATA tab is what is stored on the server – SQLyog does nothing when retriving data. SQLyog generates SQL statements using the escape patterns required by the server
You can very simply try the statements
Code:SELECT 'backsash';— returns “backsash” –>”\” means “” for the server
and
Code:SELECT 'backs\ash';— returns “backsash'' –> “a” means “a” for the server
.. so in conclusion escaping is a server functionality and not a client functionality (but the client must of course respect how the server escapes – and that iw why we generate double \'s!). Every time the server reads a it will escape!
So question is why do you require single 's in the file? The way we handle the 'backsash' character in CSV-export is how the server would do with SELECT INTO OUTFILE, and when improting we use LOAD DATA syntax.
But that said: in both CSV-import and CSV-export GUI's we will consider “” and “\” the same (= “\”). This we introduced some years ago since lots of users did not understand the need to enter “\” to generate a “” (in the datastore – not in the file!). As a result of this getting “” is not possisble if you use the GUI. But why do you want to? You would not be able to use the file with MySQL!
peterlaursen
ParticipantOne more detail: If you have a lot of databases on the server that you will not need to access from SQLyog, you could define the connection using specific databases only. The TAGS folders are generated as *per connection* setting.
peterlaursen
ParticipantThe lookup (for every keystroke) in a 25 MB database will require some system activity. But that is the part I think we might still be able to improve. The time it takes to populate the TAGS is more likely due to server response and connection quality.
Is the server accessed over (W)LAN or Internet?
Are you using SSH- or HTTP-tunnelling?
Is your User Profile stored on a domain server (in that case you should notice that there is an option to specify a local folder for storing TAGS files).
peterlaursen
ParticipantWe have a new build with further improvements here:
http://webyog.com/downloads/betas/not_rele…Lyog81n2Ent.exe
.. please tell if this is also better on your environment.
We still think that we can improve the 'tooltip' performance. The 'tooltip' is what you see if you type “SEL” and a tooltip will propose you 'SELECT'. For every keystroke (also when you have typed “S” or “SE”) we will query the Autocomplete databases and when only one possible match is possible we will 'tooltip' it.
peterlaursen
ParticipantIt depends on where you click. If you click on the table *icon* it will never go in 'rename mode' – it will always select the table. If you click on the table *name* it will select the table first time and prepare a name change input from keyboard 2nd time you click. If table was already selected evern first click on the name (but not the icon) will prepare a name change. So in short: click the icon not the name.
Btw .. I have removed your link. Too many adds and also spyware was there. Please do not post such link again here!
-
AuthorPosts