mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=1909
This commit is contained in:
parent
8aeb9cbedd
commit
cc2cacd725
|
@ -7,14 +7,16 @@ http://sourceforge.net/projects/mysql-python
|
||||||
|
|
||||||
INSTALLATION INSTRUCTIONS
|
INSTALLATION INSTRUCTIONS
|
||||||
=========================
|
=========================
|
||||||
=========================
|
|
||||||
|
|
||||||
Lines beginning with "$" indicate example commands to execute the instructed
|
Lines beginning with "$" indicate example commands to execute the instructed
|
||||||
step.
|
step.
|
||||||
|
|
||||||
|
The `shared module' options build a shared library for the Python-MySQLdb
|
||||||
|
module that is loaded at Python run-time. This requires that you have a
|
||||||
|
shared version of the MySQL client library installed, i.e. libmysqlclient.so.
|
||||||
|
|
||||||
Debian Linux: shared module
|
Debian Linux: shared module
|
||||||
===========================
|
---------------------------
|
||||||
1. Install
|
1. Install
|
||||||
$ apt-get install python-mysqldb
|
$ apt-get install python-mysqldb
|
||||||
|
|
||||||
|
@ -22,22 +24,15 @@ Debian Linux: shared module
|
||||||
$ apt-get install python2.2-mysqldb
|
$ apt-get install python2.2-mysqldb
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Red Hat Linux: shared module
|
||||||
Other Unix/Linux: shared module
|
----------------------------
|
||||||
===============================
|
|
||||||
|
|
||||||
This option requires you have a shared MySQL client library installed.
|
|
||||||
|
|
||||||
RPM
|
|
||||||
---
|
|
||||||
1. Download MySQL-python
|
1. Download MySQL-python
|
||||||
$ wget http://easynews.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-0.9.2-1.i386.rpm
|
$ wget http://easynews.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-0.9.2-1.i386.rpm
|
||||||
2. Install
|
2. Install
|
||||||
$ rpm (arguments?)
|
$ rpm (arguments?)
|
||||||
|
|
||||||
Source
|
Other Unix/Linux: shared module
|
||||||
------
|
-------------------------------
|
||||||
|
|
||||||
1. Download MySQL-python
|
1. Download MySQL-python
|
||||||
$ wget http://easynews.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-0.9.2.tar.gz
|
$ wget http://easynews.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-0.9.2.tar.gz
|
||||||
2. Unpack
|
2. Unpack
|
||||||
|
@ -48,10 +43,8 @@ Source
|
||||||
4. Install
|
4. Install
|
||||||
$ python setup.py install
|
$ python setup.py install
|
||||||
|
|
||||||
|
|
||||||
Unix/Linux: compiled statically into Python
|
Unix/Linux: compiled statically into Python
|
||||||
===========================================
|
-------------------------------------------
|
||||||
|
|
||||||
1. Download MySQL-python
|
1. Download MySQL-python
|
||||||
$ wget http://easynews.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-0.9.2.tar.gz
|
$ wget http://easynews.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-0.9.2.tar.gz
|
||||||
2. Unpack
|
2. Unpack
|
||||||
|
@ -78,17 +71,12 @@ Unix/Linux: compiled statically into Python
|
||||||
9. Install
|
9. Install
|
||||||
$ make install
|
$ make install
|
||||||
|
|
||||||
|
|
||||||
Windows: pre-packaged binary
|
Windows: pre-packaged binary
|
||||||
============================
|
----------------------------
|
||||||
|
|
||||||
There is a built python executable available at the URL listed.
|
There is a built python executable available at the URL listed.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Does it work?
|
Does it work?
|
||||||
=============
|
=============
|
||||||
|
|
||||||
You can check if your MySQLdb was installed correctly like this:
|
You can check if your MySQLdb was installed correctly like this:
|
||||||
|
|
||||||
$ python
|
$ python
|
||||||
|
|
Loading…
Reference in New Issue