Modified:
branches/guffert/installer/myodbc3i.c
branches/guffert/scripts/macosx/postflight
Log:
fix name references and add a unix driver reg example to myodbc-installer util
fix postflight script to use correct myodbc-installer syntax
Modified: branches/guffert/installer/myodbc3i.c
===================================================================
--- branches/guffert/installer/myodbc3i.c 2007-12-17 09:06:49 UTC (rev 958)
+++ branches/guffert/installer/myodbc3i.c 2007-12-17 09:15:22 UTC (rev 959)
@@ -46,7 +46,7 @@
const char *usage =
"+--- \n"
-"| myodbc3i v" MYODBC_VERSION " \n"
+"| myodbc-installer v" MYODBC_VERSION " \n"
"+--- \n"
"| \n"
"| Description \n"
@@ -60,7 +60,7 @@
"| \n"
"| Syntax \n"
"| \n"
-"| myodbc3i <Object> <Action> [Options] \n"
+"| myodbc-installer <Object> <Action> [Options] \n"
"| \n"
"| Object \n"
"| \n"
@@ -87,8 +87,12 @@
"| List drivers \n"
"| -d -l \n"
"| \n"
-"| Register a driver (Windows specific) \n"
+"| Register a driver (UNIX example) \n"
"| -d -a -n \"MySQL ODBC 5.1 Driver\" \\ \n"
+"| -t \"DRIVER=/usr/lib/myodbc5.so;SETUP=/usr/lib/myodbc3S.so\"\n"
+"| \n"
+"| Register a driver (Windows example) \n"
+"| -d -a -n \"MySQL ODBC 5.1 Driver\" \\ \n"
"| -t \"DRIVER=myodbc5.dll;SETUP=myodbc5S.dll\" \n"
"| \n"
"| Add a new data source name \n"
Modified: branches/guffert/scripts/macosx/postflight
===================================================================
--- branches/guffert/scripts/macosx/postflight 2007-12-17 09:06:49 UTC (rev 958)
+++ branches/guffert/scripts/macosx/postflight 2007-12-17 09:15:22 UTC (rev 959)
@@ -80,4 +80,4 @@
# CREATE A SAMPLE DSN
# ----------------------------------------------------------------------
echo "Ensuring sample data source name (myodbc) exists..."
-$bindir/myodbc-installer -a -s -t "DSN=myodbc;Driver=MySQL ODBC 5.1
Driver;SERVER=localhost;"
+$bindir/myodbc-installer -a -s -n myodbc -t "Driver=MySQL ODBC 5.1
Driver;SERVER=localhost;"
| Thread |
|---|
| • Connector/ODBC 3.51 commit: r959 - in branches/guffert: installer scripts/macosx | jbalint | 17 Dec |