• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

doc/H03-May-2022-2,0161,659

generic/H24-Oct-2012-2,7871,924

tclconfig/H24-Oct-2012-4,0753,727

tests/H03-May-2022-1,6361,289

AUTHORSH A D18-Feb-2011297 65

COPYINGH A D18-Feb-2011136 53

ChangeLogH A D24-Oct-20125.2 KiB105100

Makefile.inH A D18-Feb-201115.3 KiB437208

READMEH A D24-Oct-20122.3 KiB6952

README-msqltclH A D18-Feb-20114.1 KiB11978

aclocal.m4H A D18-Feb-2011147 107

configureH A D03-May-2022245.3 KiB8,6966,975

configure.inH A D24-Oct-20128.9 KiB23271

pkgIndex.tcl.inH A D18-Feb-2011138 65

README

1Tcl/Tk 8.0 interface to MySQL
2=============================
3
4This is a rewrite of a patched version of Hakan Soderlund's
5msqltcl-1.50. I removed all support for older versions of Tcl. If you
6are going to use older versions of Tcl, the patch (for msqltcl) found
7at http://www.tcx.se will do the job for you.
8
9The interface can be used as tcl package that is dynamically linked
10shared library.
11
12For copyright and licensing information, look in the README-msqltcl
13file. The same condition holds, but don't forget to mention me ;)
14
15Compilation
16===========
17The system has been compiled on
18- SunOS 5.5.1 sparc
19- SunOS 5.6 sparc
20- Linux 2.0.32 i586
21
22The settings for these systems are all in the Makefile. Take a look at
23the paths at the beginning, and adjust them for your system. The code
24is written in "close-to-ansi-c", so it should be straight forward to
25compile the static version. It could however be troublesome to compile
26the dynamic library, because of the anti-standard of shared
27libraries... :( Some experiments with the flags and paths might just
28do the trick!
29
30Set the SHARED variable to compile the shared library. The PLATFORM
31variable should be set to something similar to
32`uname -prs | sed 's/ /-/g'` for your system. If there are no preset
33configuration for your system, it is time to do some testing ;)
34
35Please report any successful compilations under new configurations
36to me, so that I can rewrite the makefile.
37
38New features
39============
40The package is already full of nice features. I added the possibility
41to set user and password at connection time and support for all(?)
42MySQL types in mysqlcol. However, I would recommend using the "SHOW
43COLUMNS..." command for new code.  The port can (as always) be set
44using an environment variable (see MySQL documentation.)
45
46
47Use and abuse this software as much as you want as long as you follow
48the license agreement in the README-msqltcl file.
49
50Tobias Ritzau
51
52VERSION 2.0
53
54Version 2.0 supports all Tcl8.0 features, uni-code strings and is
55faster than old versions.
56Compilation and Installation is made by using
57./configure scripts based on TEA
58It was internal redesigned to support unlimited connection number and
59is multi thread safe
60
61New mysqltcl Homepage
62
63http://www.xdobry.de/mysqltcl
64
65Contact:
66Mail to both:
67Tobias Ritzau configure script support
68Artur Trzewik <mail@xdobry.de> code support
69

README-msqltcl

1
2Msqltcl --   Tcl interface to the Mini SQL (mSQL) database server
3             by David J. Hughes
4
5Author:      Hakan Soderstrom, hs@soderstrom.se
6Affiliation: Soderstrom Programvaruverkstad AB, Bandhagsvagen 51,
7             S-122 42 Enskede, Sweden
8
9-------------------------------------------
10Copyright (c) 1994, 1995 Hakan Soderstrom and Tom Poindexter
11Additional details at end of this file.
12-------------------------------------------
13
14
15VERSIONS, PORTS
16
17This is release 1.50 of msqltcl. It has been tested with Tcl 7.3,
18Tk 3.6p1, TclX 7.3a-p2; Tcl 7.4b2, Tk 4.0b2, TclX 7.4a-b2, mSQL 1.0.6
19under SunOS 4.1.3. Successful ports to several other platforms have
20been reported. I would expect msqltcl to run wherever Tcl/Tk and mSQL
21succeed.
22
23
24WHAT IS MSQLTCL?
25
26Msqltcl is an extension to the Tool Command Language (Tcl) that
27provides high-level access to a Mini SQL (mSQL) database server. Mini
28SQL (mSQL) is a freely available, lightweight database engine.
29
30Msqltcl features:
31   -- supports multiple connections to one or more database servers,
32   -- supports all Mini-SQL statements,
33   -- returns SELECT query results either as Tcl lists, or iterates
34      a script over the resulting rows,
35   -- accesses information about databases, tables, columns.
36
37The package also contains a useful Mini-Monitor (mmon) written in
38Tcl/Tk. It requires TclX and is currently limited to pre-4.0 Tk.
39
40
41ACKNOWLEDGEMENTS
42
43Obviously msqltcl is just a small addition to a much greater work done
44by John Ousterhout (Tcl/Tk) and David J. Hughes (mSQL).
45
46Msqltcl is derived from work by Tom Poindexter (tpoindex@nyx.cs.du.edu)
47whose Sybtcl and Oratcl are useful patterns for Tcl database extensions.
48
49
50DOCUMENTATION
51
52Yes, a decent man page.
53
54
55REQUIREMENTS
56
57You must have Tcl/Tk and Mini SQL.
58
59** Tcl/Tk by John Ousterhout is available from numerous FTP sites. For
60one-stop retrieval, look in ftp.aud.alcatel.com:/tcl. You will find
61the Tcl/Tk distribution in /tcl/ftp.cs.berkeley.edu, extensions (one
62of which is msqltcl) in /tcl/extensions. You may want to get the file
63/tcl/MIRRORS to discover a mirror site near you.
64
65The Tcl/Tk Book is "Tcl and the Tk Toolkit" by John K. Ousterhout,
66Addison-Wesley 1994, ISBN 0-201-63337-X.
67
68** Mini SQL (mSQL) is a freely available, lightweight database engine
69developed by David J. Hughes, Bond University, Australia. The source
70code can be obtained by FTP from Bond.edu.au:/pub/Minerva/msql.
71
72There is an mSQL mailing list. Join it by sending a message to
73msql-list-request@Bond.edu.au.
74
75
76INSTALLATION
77
78See the file INSTALL.
79
80
81BUG REPORTS
82
83Although I have made a conscientious effort to provide zero-defect
84software and documentation, this release of msqltcl may still contain
85blunders of varying magnitudes.
86
87Comments, suggestions, bug reports (maybe even encouragement!) should be
88mailed to me at the E-mail address above. Please include some
89information about your environment (platform, OS version, Tcl/Tk
90version, mSQL version, msqltcl version). Please include enough
91information for me to be able to reproduce any suspect behaviour. If you
92have a solution to a problem, please include a patch.
93
94I can't guarantee that I will fix your bug, but I'll do my best.
95
96
97COPYRIGHT & LICENSE
98
99Copyright (c) 1994, 1995 Hakan Soderstrom, Enskede, Sweden
100and Tom Poindexter, Denver, Colorado
101
102Permission to use, copy, modify, distribute, and sell this software
103and its documentation for any purpose is hereby granted without fee,
104provided that the above copyright notice and this permission notice
105appear in all copies of the software and related documentation.
106
107THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
108EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
109WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
110
111IN NO EVENT SHALL HAKAN SODERSTROM OR SODERSTROM PROGRAMVARUVERKSTAD
112AB BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL
113DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
114OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF THE POSSIBILITY
115OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT OF OR IN
116CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
117
118$Revision: 1.1.1.1 $
119