I'm trying to install MySQL for Python (for MySQL 4.1.8 and Python 2.4 under SuSE Linux 9.0). It looks like mysql-python-test version 1.1.8 would be the right thing to install, but the file MySQL-python-1.1.8.tar.gz contains only a few doc files, an .h, and a .py. The 1.1.8 Windows versions look complete.
Can anyone tell me what I should download for Linux?
Thanks,
Matthew
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
$ ls -l MySQL-python-1.1.8.tar.gz
-rw-r--r-- 1 andy users 84677 Jan 7 13:35 MySQL-python-1.1.8.tar.gz
$ md5sum MySQL-python-1.1.8.tar.gz
dbc6c1cd6339ac284473dbc8c35e86bb MySQL-python-1.1.8.tar.gz
If your numbers don't match the above, try again. The fact that there is a Windows version at all proves the tarball is fine, since the Windows version was compiled by a third-party who downloaded from SourceForge. Maybe you hit a bad mirror.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm trying to install MySQL for Python (for MySQL 4.1.8 and Python 2.4 under SuSE Linux 9.0). It looks like mysql-python-test version 1.1.8 would be the right thing to install, but the file MySQL-python-1.1.8.tar.gz contains only a few doc files, an .h, and a .py. The 1.1.8 Windows versions look complete.
Can anyone tell me what I should download for Linux?
Thanks,
Matthew
I just downloaded the tarball, and here are the contents:
drwxr-xr-x andy/users 0 2004-12-31 19:10:35 MySQL-python-1.1.8/
drwxr-xr-x andy/users 0 2004-12-31 19:10:35 MySQL-python-1.1.8/doc/
-rw-r--r-- andy/users 36648 2004-10-30 22:27:28 MySQL-python-1.1.8/doc/MySQLdb.html
-rw-rw-r-- andy/users 42215 2004-10-30 22:29:58 MySQL-python-1.1.8/doc/pep-0249.html
-rw-r--r-- andy/users 40467 2004-10-28 22:02:03 MySQL-python-1.1.8/doc/pep-0249.txt
-rw-r--r-- andy/users 9776 2004-12-31 19:03:53 MySQL-python-1.1.8/doc/README.html
-rw-r--r-- andy/users 25036 2004-10-30 22:11:18 MySQL-python-1.1.8/doc/MySQLdb.txt
-rw-r--r-- andy/users 401 2004-12-31 17:24:16 MySQL-python-1.1.8/test_MySQLdb_dbapi20.py
-rw-r--r-- andy/users 3203 2002-07-30 23:11:30 MySQL-python-1.1.8/pymemcompat.h
-rw-r--r-- andy/users 7403 2004-12-31 19:10:20 MySQL-python-1.1.8/README
-rw-r--r-- andy/users 950 2004-12-31 19:10:35 MySQL-python-1.1.8/PKG-INFO
-rw-r--r-- andy/users 242 2004-05-17 22:57:33 MySQL-python-1.1.8/setup.cfg
-rw-r--r-- andy/users 221 2004-12-31 17:34:00 MySQL-python-1.1.8/MANIFEST.in
-rw-r--r-- andy/users 2306 2004-05-16 01:42:32 MySQL-python-1.1.8/_mysql_exceptions.py
-rw-r--r-- andy/users 5358 2004-12-31 17:36:50 MySQL-python-1.1.8/setup.py
-rw-r--r-- andy/users 70773 2004-12-31 17:36:31 MySQL-python-1.1.8/_mysql.c
-rw-r--r-- andy/users 30148 2004-12-31 16:55:38 MySQL-python-1.1.8/dbapi20.pydrwxr-xr-x andy/users 0 2004-12-31 19:10:35 MySQL-python-1.1.8/MySQLdb/
-rw-r--r-- andy/users 3693 2004-05-15 18:45:10 MySQL-python-1.1.8/MySQLdb/sets.py
drwxr-xr-x andy/users 0 2004-12-31 19:10:35 MySQL-python-1.1.8/MySQLdb/constants/
-rw-rw-r-- andy/users 674 2001-05-08 22:23:15 MySQL-python-1.1.8/MySQLdb/constants/CR.py
-rw-rw-r-- andy/users 5114 2001-05-08 22:23:15 MySQL-python-1.1.8/MySQLdb/constants/ER.py
-rw-rw-r-- andy/users 363 2001-05-08 22:23:15 MySQL-python-1.1.8/MySQLdb/constants/FLAG.py
-rw-rw-r-- andy/users 431 2001-05-08 22:23:15 MySQL-python-1.1.8/MySQLdb/constants/FIELD_TYPE.py
-rw-rw-r-- andy/users 252 2001-05-08 22:23:15 MySQL-python-1.1.8/MySQLdb/constants/REFRESH.py
-rw-rw-r-- andy/users 62 2001-05-08 22:23:15 MySQL-python-1.1.8/MySQLdb/constants/init.py
-rw-r--r-- andy/users 667 2004-12-30 14:24:27 MySQL-python-1.1.8/MySQLdb/constants/CLIENT.py
-rw-r--r-- andy/users 12389 2004-12-31 18:23:33 MySQL-python-1.1.8/MySQLdb/cursors.py
-rw-r--r-- andy/users 1216 2003-11-23 16:32:30 MySQL-python-1.1.8/MySQLdb/stringtimes.py
-rw-r--r-- andy/users 4072 2004-10-28 20:01:39 MySQL-python-1.1.8/MySQLdb/converters.py
-rw-r--r-- andy/users 1783 2004-10-30 21:28:49 MySQL-python-1.1.8/MySQLdb/pytimes.py
-rw-r--r-- andy/users 1370 2004-09-26 17:47:50 MySQL-python-1.1.8/MySQLdb/mxdatetimes.py
-rw-r--r-- andy/users 1030 2004-09-06 16:35:09 MySQL-python-1.1.8/MySQLdb/times.py
-rw-r--r-- andy/users 2663 2004-12-31 17:41:11 MySQL-python-1.1.8/MySQLdb/init.py
-rw-r--r-- andy/users 6639 2004-12-31 18:32:53 MySQL-python-1.1.8/MySQLdb/connections.py
-rw-rw-r-- andy/users 585 2004-12-31 18:41:23 MySQL-python-1.1.8/MANIFEST
$ ls -l MySQL-python-1.1.8.tar.gz
-rw-r--r-- 1 andy users 84677 Jan 7 13:35 MySQL-python-1.1.8.tar.gz
$ md5sum MySQL-python-1.1.8.tar.gz
dbc6c1cd6339ac284473dbc8c35e86bb MySQL-python-1.1.8.tar.gz
If your numbers don't match the above, try again. The fact that there is a Windows version at all proves the tarball is fine, since the Windows version was compiled by a third-party who downloaded from SourceForge. Maybe you hit a bad mirror.
Thanks very much. In fact I had managed to run tar wrong. Sorry to take your time.
Red-faced,
Matthew