dabodemo Commit
Revision 481
Date: 2006-12-28 17:34:30 -0800 (Thu, 28 Dec 2006)
Author: Ed

Changed:
U   trunk/SimpleFormWithBizobj.py

Log:
Added the option of using Microsoft SQL Server as the database type.


Diff:
Modified: trunk/SimpleFormWithBizobj.py
===================================================================
--- trunk/SimpleFormWithBizobj.py       2006-12-23 18:07:09 UTC (rev 480)
+++ trunk/SimpleFormWithBizobj.py       2006-12-29 01:34:30 UTC (rev 481)
@@ -19,10 +19,12 @@
                kinterbasdb
                psycopg
                pysqlite
+               MS SQL Server
        unblocked Internet connection on:
                port 3306 (for MySQL)
                or port 3050 (for Firebird)
-               or port 5432 (for PostgreSQL) 
+               or port 5432 (for PostgreSQL)
+               or port 1433 (for MS SQL Server)
        to dabodev.com  
        (No connection needed for SQLite, since that runs locally)
 
@@ -34,6 +36,10 @@
 backend = "MySQL"
 #backend = "Firebird"
 #backend = "PostgreSQL"
+### If you use MS SQL Server, make sure to set the Host
+### on line 86 below to your host, because Dabo doesn't
+### offer a public server for MS SQL Server.
+#backend = "MsSQL"
 #backend = "SQLite"
 #--------------------------------------
 
@@ -75,6 +81,11 @@
                elif backend == "PostgreSQL":
                        self.Port = 5432
                        self.Password = "Z35C39V79Q9EYBBJ54"  # (obscured)
+               elif backend == "MsSQL":
+                       # Make sure to change this to your server!!!
+                       self.Host = "localhost"
+                       self.Port = 1433
+                       self.Password = "Z35C39V79Q9EYBBJ54"  # (obscured)
                elif backend == "SQLite":
                        # Only the database name is needed. Change this
                        # to the path to your database file, if needed.




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to