Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Version 1 and Version 2 of DataBaseInstalation


Ignore:
Timestamp:
05/03/06 02:27:46 (13 years ago)
Author:
jorge.vargas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DataBaseInstalation

    v1 v2  
    2828First we'll assume you already have a database backend install and working, since if you want a ORM you are probably sick of SQL and therefore have a funtional database :) 
    2929 
    30 The process of installing a db is very diferent for each one so please [www.google.com google] it. 
     30The process of installing a db is very diferent for each one so please [http://www.google.com google] it. 
    3131 
    32 So now that we have a working db we need some python bindings for it, that is a library that lets me interact to it from python. 
     32pause while you install the db engine 
     33 
     34So now that we have a working db we need some python bindings for it, that is a library that lets python programs interact with the db backend. 
    3335 
    3436= Linux = 
     
    4446You will need [http://sourceforge.net/projects/mysql-python mysqldb] it may be call mysql-python on your package manager and it is call that way in pypi. 
    4547 
    46 '''NOTE''' if you easy_install this you will need a C Compiler and mysql include/lib dirs which may not be install by the default package on your distro. 
     48=== Best Approach === 
     49- Use your package manager 
     50 
     51if that fails 
     52 * Install development tools (gcc,make,etc.) 
     53 * Install mysql developement tools 
     54{{{ 
     55easy_install mysql-python 
     56}}} 
    4757 
    4858== SqlLite == 
    49 TODO 
     59You will need [http://initd.org/tracker/pysqlite pysqlite] 
     60 
     61=== Best Approach === 
     62- Use your package manager 
     63 
     64As easy as the above  
     65{{{ 
     66easy_install pysqlite 
     67}}} 
    5068== PostgreSql == 
    5169TODO 
    5270 
    5371= Windows = 
     72In Windows there is basically one way to install packages, an exe file (aka installer), provided by the package author or users. Installing from source is a pain and should be your last resource. If you do choose to go this way you will need VisualStudio or the equivalent TODO add link to MC visual C compiler, '''NOTE''' it's not an easy task. 
     73 
    5474== MySql == 
    55 As of May 3 2006 there is NO installer for the lastest version 
     75You will need [http://sourceforge.net/projects/mysql-python mysqldb] mysql-python is the name in in pypi. 
     76 
     77As of May 3 2006 there is NO installer for the lastest version so easy_install WILL fail. 
     78 
     79=== Best Approach === 
     80[http://sourceforge.net/project/showfiles.php?group_id=22307 mysql-python Downloads] and get the lastest exe/zip. 
     81 
     82if that fails 
     83 * TODO if I ever get this (got a week trying to compile it, post it here) 
     84 
    5685== SqlLite == 
    57 TODO 
     86You will need [http://initd.org/tracker/pysqlite pysqlite] 
     87 
     88=== Best Approach === 
     89- easy_install pysqlite 
     90 
    5891== PostgreSql == 
    5992TODO