What is kmp Sybase?

Kmp Sybase is a Sybase plugin for KSQL. It is written in C++ and uses the Sybase ctlibs. Look at the screen shots.

What is KSQL ?

Ksql allows you to do simple queries to some SQL databases such as Mysql, Msql, Postgres and Sybase. It can be used as a graphical replacement for Sybase isql. It is written for KDE1.1x and KDE2.

What do you do if you find a bug?

Please report bugs to myself. I will do as much as I can to fix them.

TODO:

Lots of bugs to fix. Finish implementing all Sybase functionalities. If you have any suggestions/improvement please feel free to drop me a line. If you can code please send me some patches. If you can draw, some nice icons are welcome.

Where can I get the source and binary ?

Go to the download section to get kmp Sybase. You also need the Sybase database installed on your machine or at least the client library. You need to download Ksql. Compile it yourself or get the binary.

Compiling the plugin yourself ?

First install kmysql. Then make sure that you have the Sybase libs and includes installed on your machine. I have tested it with Sybase 11.0.3.3 and I do not know if it works with other version please tell me if it does. Unfortunatly you will have to edit the plugin Makefile yourself and change the path for the Kde, Qt and Sybase directory. If someone wants to send me a proper Makefile generated by autoconf that will be cool.

# The directory where Qt is installed

QTDIR = /usr/local/qt

# The directory where KDE is installed

KDEDIR = /usr/local/kde

# Complete path to sybase libs

# which is provided with sybase

SYBASE = /opt/sybase

Then just type make

Note that if you want to use the development version (pre2.0) you need to get kde2.

Using the plugin ?

Before make sure that you have the Sybase client library installed on your client, then that the SYBASE env variable is set to that path and that you have a valid interface file.

Run Kmysql

Load the Sybase plugin and Add a server. Note that when adding a server make sure that its name is a valid name in the interfaces file.