About the SQLyog program » Installation and Configuration

ID #1056

Can I use SQLyog with the WINEWindows emulator on LINUX.

 

Yes - most often you can. We have had reports of users successfully doing so for quite a while. We have tested that with the beta WINEreleases from 0.9.1 to 0.9.10 (the most recent as this is written) from http://www.winehq.com/ . The test is done with SLACKWARE and SUSE LINUX 10. The KDE and the GNOME desktops as well as some simple X-Windows -styles have been tested. There was some display problems with 0.9.9 (a lot of new graphics routines were included with this one and some were buggy). But it has worked with every one else. Also note that at this very time (March 19th 2006) SQLyog 5.1 is in beta and some of the new 'auto-complete' features are not fully functional under WINEyet. We know that and will fix that in near future.

SQLyog is fully functional under WINE/Linux. Even the SJA for Windows is! However there are some cosmetically problems with fonts. SQLyog has been compiled with native Windows libraries ('API's) that assume existence of the basic Windows' fonts on the system. Without them menus etc. is not displayed very beautifully by WINE. You should install the 'Microsoft Core Fonts' in WINE. They are - for instance - available from here (due to licensing restrictions the WINEdistributors can't include them in WINE). To install type from a command shell

shell> wine path/fontname.exe and repeat for each font

There also are some error messages regarding fonts control displayed by the command shell used to start SQLyog with WINE, but nothing that prevents the functionality of the program (and it is undoubtedly is a bug with WINEitself).

If the 'Core' fonts won't work properly on your system you may need to reduce your desktop resolution to 1024. But that depends on your graphics hardware and drivers. Also a CRT monitor might work better than a LCD monitor. You can try to change the font's settings of the SQL pane and the DATA pane from 'preferences'. The font 'Bitstream Vera Sans' that is a part of most Linux distribution works fine for instance. That will make the content of these panes readable, but it will not solve the problems with the not-so-beautiful menus. The 'Core' font packages are preferable. You will also notice some 'flickering' when resizing the program window, but that is a Wineissue!

You must install SQLyog to a folder where you have read, write and execute privilege. Here we shall - for simplicity - see how to install for one user only (user 'me' ( = you ) ) in the user's own folder tree. The installation directory in the example here is /home/me/programs/sqlyog. This example assumes a file systems' mount similar to the standard installation of most distributions. Then do like this:


1) Install WINEif you don't have it already. If your version is not recent consider to upgrade. WINEis a systems' component and you must refer to the docs of your LINUX distribution for information on how to do this. And next install the 'Core' fonts.

2) Get the common SQLyog installer for Windows. Place a copy in your home directory ( /home/me ). All SQLyog editions (Community, Professional, Enterprise, Ultimate) will work. Registration information is saved by Wineexactly as on a 'real' Windows. The SQLyog installer is packaged with some redistributable dll's. They are available on Win NT systems, but not on Win 9x and Wine. To ensure that those dll's are copied during the install you should configure WINEto emulate Win 9x at install time. You can use the WINECFG utility for that. However it is default, so if you never changed it, it should be OK. After the installation you may change back to emulate a NT-based system.

3) Install by opening a command shell in your home directory and type

shell> wine SQLyogEnt42.exe ( or whatever the program version)

the installer starts, runs and terminates quite as on Windows. Choose the folder /home/me/programs/sqlyog for installation. The installer creates it if it does not exist.

4) To execute SQLyog for instance open a command shell and type

shell> wine programs/sqlyog/SQLyog.exe

.. and you are up and running. Picture below shows SQLyog 5 running on SUSE Linux 10 with the KDE desktop. Three connections are open at the same time: 1) MySQL 5.0.16 running on 'localhost' (Linux) 2) MySQL 5.1.3 running on a Windows machine on local network (in front) and 3) MySQL 3.23 running on a remote server at an ISP.

To install to a folder not in user's own folder tree and to integrate it into the desktop environment is beyond the scope of this article. Also note that this example does not use the WINECFG utility to map a 'drive_c' (and thus it also does not use the (hidden) folder /user_home/.wine\drive_c\Program Files). You may of course do that as well (and experienced WINEusers will probably prefer to do so (refer to the docs on http://www.winehq.com/ for information on that) . But you need not!


Please note: We would also like to receive information on using SQLyog with other *nix-variants, BSD's etc. Just post a comment ("add comment") to this FAQ. Any experience (preferably good ones!) tricks, configuration issues etc. are welcome. And developers with expertise on developing for WINEof course are very welcome too to propose improvements for WINEcompability.

 

Tags: -

Related entries:

Last update: 2006-03-19 01:54
Author: Peter Laursen
Revision: 1.0

Digg it! Print this record Send FAQ to a friend Show this as PDF file
Propose a translation for Propose a translation for
Please rate this FAQ:

Average rating: 4.38 out of 5 (8 Votes )

completely useless 1 2 3 4 5 most valuable

You can comment this FAQ

Comment of werther:
I've succesfully run SQLyog Community Edition by Wine on FreeBSD 7.0 RC-1 installed on IBM T23 laptop. The way (installation from ports): ------------------------------------ %cd /usr/ports/emulators/wine %su # make && make install && make distclean && rehash # cd ../../x11-fonts/webfonts # make && make install && make distclean && rehash # vi /etc/X11/xorg.conf ------------------------------------ insert this line into xorg.conf: FontPath "/usr/local/lib/X11/fonts/webfonts/" ------------------------------------ # exit %winecfg ------------------------------------ choose emulation of Win98 ------------------------------------ %fetch http://www.webyog.com/downloads/SQLyog615.exe %wine SQLyog615.exe %wine .wine/drive_c/Program\ Files/SQLyog/SQLyog.exe ------------------------------------ Thanks to SQLyog team, but I still wait for native, *nix distribution. ;)
Added at: 2008-01-15 16:34

Comment of Peter Laursen:
January 2006: Just in: We now also have positive responses from users using SQLyog with the commercial WINE-port 'Crossover Office'
Added at: 2038-01-19 04:14

Comment of Juan Noriega:
It's very easy to install using wine and it works perfect (well a little graphics bugs)... i'm using kubuntu 7.04(feisty) 64bits and wine 0.9.36 32bits. the only problem i had was that it needed the gdiplus.dll but i got it from DLL-files.com and that was all.
Added at: 2007-04-29 18:58

Comment of all_in_sane:
Ubuntu 6.10 Edgy Wine wine-0.9.32 Great program, just wanted to confirm this, I have been running webyog on wine for more then 6 mos without exception. Thanks Guys.
Added at: 2007-03-17 05:33