Consulta de coneccion

23/02/2004 - 18:14 por Luis Orlando Cabrera Aldui | Informe spam
Hola a Todos y gracias por las ayudas prestadas, ahora tengo una duda aunq
no es un problema pero una duda q deseo despejar vean la siquiente coneccion

conn.ConnectionString = "DRIVER={MySQL ODBC 3.51 Driver};"_
& "SERVER=localhost;"_
& " DATABASE=test;"_
& "UID=venu;PWD=venu; OPTION=3"

es una cadena de coneccion normal comun y silvestre, bueno pues pero resulta
q no se a q se refieren algunos de los parametros de la misma por ejemplo
que es y para que sirve el "OPTION", no se me gustaria q me ayuden a
despejar esta duda la cual me tiene intrigado, nuevamente les agradesco toda
las ayudas prestadas y espero alguna respuesta hasta pronto.

atte

Luis Orlando Cabrera Aldui
ealdui@hotmail.com
aldui@yahoo.com.ar

Preguntas similare

Leer las respuestas

#1 Maximiliano D. A.
23/02/2004 - 18:23 | Informe spam
Hola!! la verdad que de Mysql NI IDEAAA, habria que ver que es eso en el
Driver de Mysql o consultar esta pregunta en unb foro de Mysql ;-)


Salu2
Maxi
Buenos Aires Argentina
Desarrollador Microsoft 3 Estrellas .NET
[Maxi_accotto[arroba]speedy[punto]com[punto]ar
MSN:


"Luis Orlando Cabrera Aldui" escribió en el mensaje
news:OONryAj%
Hola a Todos y gracias por las ayudas prestadas, ahora tengo una duda aunq
no es un problema pero una duda q deseo despejar vean la siquiente


coneccion

conn.ConnectionString = "DRIVER={MySQL ODBC 3.51 Driver};"_
& "SERVER=localhost;"_
& " DATABASE=test;"_
& "UID=venu;PWD=venu; OPTION=3"

es una cadena de coneccion normal comun y silvestre, bueno pues pero


resulta
q no se a q se refieren algunos de los parametros de la misma por ejemplo
que es y para que sirve el "OPTION", no se me gustaria q me ayuden a
despejar esta duda la cual me tiene intrigado, nuevamente les agradesco


toda
las ayudas prestadas y espero alguna respuesta hasta pronto.

atte

Luis Orlando Cabrera Aldui









Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.581 / Virus Database: 368 - Release Date: 09/02/2004
Respuesta Responder a este mensaje
#2 Heich
23/02/2004 - 18:48 | Informe spam
http://www.mysql.com/products/myodbc/manual.html

Poco antes de la mitad de la pagina, se encuentra la tabla de valores para
el Option Argument

Muchos recomiendan usar 131072 para un mejor rendimiento

Date un paseo por www.vbmysql.com puede serte util

Saludos
Heich
heichito[arroba]hotmail[punto]com
Daria todo lo que se por saber la mitad de lo que ignoro.
-
NOTA: Toda la informacion contenida
en este mensaje se proporciona TAL CUAL.
No otorga garantias de ningun tipo ni derecho alguno.
Al leer este mensaje, usted asume la responsabilidad
sobre el uso que le de al codigo o informacion que contenga,
asi como de los resultados obtenidos.

Sugerencias del buen uso del foro
(cortesia de Ruben Vigon)
http://perso.wanadoo.es/rubenvigon/foro


"Luis Orlando Cabrera Aldui" escribió en el mensaje
news:OONryAj%
Hola a Todos y gracias por las ayudas prestadas, ahora tengo una duda aunq
no es un problema pero una duda q deseo despejar vean la siquiente


coneccion

conn.ConnectionString = "DRIVER={MySQL ODBC 3.51 Driver};"_
& "SERVER=localhost;"_
& " DATABASE=test;"_
& "UID=venu;PWD=venu; OPTION=3"

es una cadena de coneccion normal comun y silvestre, bueno pues pero


resulta
q no se a q se refieren algunos de los parametros de la misma por ejemplo
que es y para que sirve el "OPTION", no se me gustaria q me ayuden a
despejar esta duda la cual me tiene intrigado, nuevamente les agradesco


toda
las ayudas prestadas y espero alguna respuesta hasta pronto.

atte

Luis Orlando Cabrera Aldui




Respuesta Responder a este mensaje
#3 Adrian D. Garcia
23/02/2004 - 23:35 | Informe spam
Aunque no es una pregunta de SQL Server ...

En realidad es una serie de bits que estan relacionados con un OR.
Aqui tienes la tabla de referencia de los bits que componen el valor de
OPTION:

Bit Description
1 The client can't handle that Connector/ODBC returns the real width
of a column.
2 The client can't handle that MySQL returns the true value of
affected rows. If this flag is set then MySQL returns 'found rows' instead.
One must have MySQL 3.21.14 or newer to get this to work.
4 Make a debug log in `c:\myodbc.log'(`/tmp/myodbc.log'). This is the
same as putting MYSQL_DEBUG=d:t:O,c::\myodbc.log in `AUTOEXEC.BAT'
8 Don't set any packet limit for results and parameters.
16 Don't prompt for questions even if driver would like to prompt
32 Enable or disable the dynamic cursor support. This is not allowed
in Connector/ODBC 2.50.
64 Ignore use of database name in 'database.table.column'.
128 Force use of ODBC manager cursors (experimental).
256 Disable the use of extended fetch (experimental).
512 Pad CHAR fields to full column length.
1024 SQLDescribeCol() will return fully qualified column names
2048 Use the compressed server/client protocol
4096 Tell server to ignore space after function name and before '('
(needed by Power Builder). This will make all function names keywords!
8192 Connect with named pipes to a mysqld server running on NT.
16384 Change LONGLONG columns to INT columns (some applications can't
handle LONGLONG).
32768 Return 'user' as Table_qualifier and Table_owner from SQLTables
(experimental)
65536 Read parameters from the client and odbc groups from `my.cnf'
131072 Add some extra safety checks (should not bee needed but...)
262144 Disable transactions
524288 Enable query logging to `c:\myodbc.sql'(`/tmp/myodbc.sql')
file - enabled only in debug mode
1048576 Do not cache the results locally in the driver, instead read
from server(mysql_use_result). This works only for forward-only cursors.
This option is very important in dealing with large tables when one doesn't
want the driver to cache the entire resultset.
2097152 Force the use of 'Forward-only' cursor type. In case of
applications setting the deafult static/dynamic cursor type, and one wants
driver to use non-cache resultsets, then this option will ensure the
forward-only cursor behaviour.



para mas informacion puedes referirte a:
http://www.mysql.com/products/myodbc/manual.html


Saludos
Adrian D. Garcia
MCSD
NDSoft Consultoria y Desarrollo

"Luis Orlando Cabrera Aldui" wrote in message
news:OONryAj%
Hola a Todos y gracias por las ayudas prestadas, ahora tengo una duda aunq
no es un problema pero una duda q deseo despejar vean la siquiente


coneccion

conn.ConnectionString = "DRIVER={MySQL ODBC 3.51 Driver};"_
& "SERVER=localhost;"_
& " DATABASE=test;"_
& "UID=venu;PWD=venu; OPTION=3"

es una cadena de coneccion normal comun y silvestre, bueno pues pero


resulta
q no se a q se refieren algunos de los parametros de la misma por ejemplo
que es y para que sirve el "OPTION", no se me gustaria q me ayuden a
despejar esta duda la cual me tiene intrigado, nuevamente les agradesco


toda
las ayudas prestadas y espero alguna respuesta hasta pronto.

atte

Luis Orlando Cabrera Aldui




Respuesta Responder a este mensaje
#4 Maximiliano Damian Accotto
24/02/2004 - 00:25 | Informe spam
ahhh te enganche!!! nos estas traicionando con Mysql ;-) jeje!!!! eres un
espia quizas? ;-)

Cuidate


Salu2 enormes

Maximiliano Damian Accotto

Fundicion San Cayetano S.A.
Gerente de IT
Buenos Aires - Argentina
-
Desarrollador 3 estrellas
http://www.microsoft.com/spanish/ms...efault.asp
-
(maxi_accotto[arroba]speedy.com.ar)
MSN:
-

"Adrian D. Garcia" escribió en el mensaje
news:O%23H1yLj%
Aunque no es una pregunta de SQL Server ...

En realidad es una serie de bits que estan relacionados con un OR.
Aqui tienes la tabla de referencia de los bits que componen el valor de
OPTION:

Bit Description
1 The client can't handle that Connector/ODBC returns the real


width
of a column.
2 The client can't handle that MySQL returns the true value of
affected rows. If this flag is set then MySQL returns 'found rows'


instead.
One must have MySQL 3.21.14 or newer to get this to work.
4 Make a debug log in `c:\myodbc.log'(`/tmp/myodbc.log'). This is


the
same as putting MYSQL_DEBUG=d:t:O,c::\myodbc.log in `AUTOEXEC.BAT'
8 Don't set any packet limit for results and parameters.
16 Don't prompt for questions even if driver would like to prompt
32 Enable or disable the dynamic cursor support. This is not


allowed
in Connector/ODBC 2.50.
64 Ignore use of database name in 'database.table.column'.
128 Force use of ODBC manager cursors (experimental).
256 Disable the use of extended fetch (experimental).
512 Pad CHAR fields to full column length.
1024 SQLDescribeCol() will return fully qualified column names
2048 Use the compressed server/client protocol
4096 Tell server to ignore space after function name and before '('
(needed by Power Builder). This will make all function names keywords!
8192 Connect with named pipes to a mysqld server running on NT.
16384 Change LONGLONG columns to INT columns (some applications


can't
handle LONGLONG).
32768 Return 'user' as Table_qualifier and Table_owner from


SQLTables
(experimental)
65536 Read parameters from the client and odbc groups from `my.cnf'
131072 Add some extra safety checks (should not bee needed but...)
262144 Disable transactions
524288 Enable query logging to `c:\myodbc.sql'(`/tmp/myodbc.sql')
file - enabled only in debug mode
1048576 Do not cache the results locally in the driver, instead


read
from server(mysql_use_result). This works only for forward-only cursors.
This option is very important in dealing with large tables when one


doesn't
want the driver to cache the entire resultset.
2097152 Force the use of 'Forward-only' cursor type. In case of
applications setting the deafult static/dynamic cursor type, and one wants
driver to use non-cache resultsets, then this option will ensure the
forward-only cursor behaviour.



para mas informacion puedes referirte a:
http://www.mysql.com/products/myodbc/manual.html


Saludos
Adrian D. Garcia
MCSD
NDSoft Consultoria y Desarrollo

"Luis Orlando Cabrera Aldui" wrote in message
news:OONryAj%
> Hola a Todos y gracias por las ayudas prestadas, ahora tengo una duda


aunq
> no es un problema pero una duda q deseo despejar vean la siquiente
coneccion
>
> conn.ConnectionString = "DRIVER={MySQL ODBC 3.51 Driver};"_
> & "SERVER=localhost;"_
> & " DATABASE=test;"_
> & "UID=venu;PWD=venu; OPTION=3"
>
> es una cadena de coneccion normal comun y silvestre, bueno pues pero
resulta
> q no se a q se refieren algunos de los parametros de la misma por


ejemplo
> que es y para que sirve el "OPTION", no se me gustaria q me ayuden a
> despejar esta duda la cual me tiene intrigado, nuevamente les agradesco
toda
> las ayudas prestadas y espero alguna respuesta hasta pronto.
>
> atte
>
> Luis Orlando Cabrera Aldui
>
>
>
>


Respuesta Responder a este mensaje
#5 Maximiliano Damian Accotto
24/02/2004 - 00:46 | Informe spam
jejeje!! tienes razon pero no Mysql :p jeej


Salu2 enormes

Maximiliano Damian Accotto

Fundicion San Cayetano S.A.
Gerente de IT
Buenos Aires - Argentina
-
Desarrollador 3 estrellas
http://www.microsoft.com/spanish/ms...efault.asp
-
(maxi_accotto[arroba]speedy.com.ar)
MSN:
-

"Adrian D. Garcia" escribió en el mensaje
news:e8ThzUm%
Ah! Nunca tuviste que mover datos de un lado a otro? Bien, alguna vez


quizas
ya te toque... y te escucharemos opinar sobre Oracle (ya lo hiciste!!),
Informix, DB2, MySql, etc, etc.. jejeje

Saludos
Adrian D. Garcia
MCSD
NDSoft Consultoria y Desarrollo

"Maximiliano Damian Accotto" wrote in
message news:eJXy7Qm%
> ahhh te enganche!!! nos estas traicionando con Mysql ;-) jeje!!!! eres


un
> espia quizas? ;-)
>
> Cuidate
>
>
> Salu2 enormes
>
> Maximiliano Damian Accotto
>
> Fundicion San Cayetano S.A.
> Gerente de IT
> Buenos Aires - Argentina
> -
> Desarrollador 3 estrellas
>


http://www.microsoft.com/spanish/ms...efault.asp
> -
> (maxi_accotto[arroba]speedy.com.ar)
> MSN:
> -
>
> "Adrian D. Garcia" escribió en el


mensaje
> news:O%23H1yLj%
> > Aunque no es una pregunta de SQL Server ...
> >
> > En realidad es una serie de bits que estan relacionados con un OR.
> > Aqui tienes la tabla de referencia de los bits que componen el valor


de
> > OPTION:
> >
> > Bit Description
> > 1 The client can't handle that Connector/ODBC returns the real
> width
> > of a column.
> > 2 The client can't handle that MySQL returns the true value of
> > affected rows. If this flag is set then MySQL returns 'found rows'
> instead.
> > One must have MySQL 3.21.14 or newer to get this to work.
> > 4 Make a debug log in `c:\myodbc.log'(`/tmp/myodbc.log'). This


is
> the
> > same as putting MYSQL_DEBUG=d:t:O,c::\myodbc.log in `AUTOEXEC.BAT'
> > 8 Don't set any packet limit for results and parameters.
> > 16 Don't prompt for questions even if driver would like to


prompt
> > 32 Enable or disable the dynamic cursor support. This is not
> allowed
> > in Connector/ODBC 2.50.
> > 64 Ignore use of database name in 'database.table.column'.
> > 128 Force use of ODBC manager cursors (experimental).
> > 256 Disable the use of extended fetch (experimental).
> > 512 Pad CHAR fields to full column length.
> > 1024 SQLDescribeCol() will return fully qualified column names
> > 2048 Use the compressed server/client protocol
> > 4096 Tell server to ignore space after function name and before
'('
> > (needed by Power Builder). This will make all function names keywords!
> > 8192 Connect with named pipes to a mysqld server running on NT.
> > 16384 Change LONGLONG columns to INT columns (some applications
> can't
> > handle LONGLONG).
> > 32768 Return 'user' as Table_qualifier and Table_owner from
> SQLTables
> > (experimental)
> > 65536 Read parameters from the client and odbc groups from
`my.cnf'
> > 131072 Add some extra safety checks (should not bee needed
but...)
> > 262144 Disable transactions
> > 524288 Enable query logging to


`c:\myodbc.sql'(`/tmp/myodbc.sql')
> > file - enabled only in debug mode
> > 1048576 Do not cache the results locally in the driver, instead
> read
> > from server(mysql_use_result). This works only for forward-only


cursors.
> > This option is very important in dealing with large tables when one
> doesn't
> > want the driver to cache the entire resultset.
> > 2097152 Force the use of 'Forward-only' cursor type. In case of
> > applications setting the deafult static/dynamic cursor type, and one
wants
> > driver to use non-cache resultsets, then this option will ensure the
> > forward-only cursor behaviour.
> >
> >
> >
> > para mas informacion puedes referirte a:
> > http://www.mysql.com/products/myodbc/manual.html
> >
> >
> > Saludos
> > Adrian D. Garcia
> > MCSD
> > NDSoft Consultoria y Desarrollo
> >
> > "Luis Orlando Cabrera Aldui" wrote in message
> > news:OONryAj%
> > > Hola a Todos y gracias por las ayudas prestadas, ahora tengo una


duda
> aunq
> > > no es un problema pero una duda q deseo despejar vean la siquiente
> > coneccion
> > >
> > > conn.ConnectionString = "DRIVER={MySQL ODBC 3.51 Driver};"_
> > > & "SERVER=localhost;"_
> > > & " DATABASE=test;"_
> > > & "UID=venu;PWD=venu; OPTION=3"
> > >
> > > es una cadena de coneccion normal comun y silvestre, bueno pues pero
> > resulta
> > > q no se a q se refieren algunos de los parametros de la misma por
> ejemplo
> > > que es y para que sirve el "OPTION", no se me gustaria q me ayuden a
> > > despejar esta duda la cual me tiene intrigado, nuevamente les
agradesco
> > toda
> > > las ayudas prestadas y espero alguna respuesta hasta pronto.
> > >
> > > atte
> > >
> > > Luis Orlando Cabrera Aldui
> > >
> > >
> > >
> > >
> >
> >
>
>


Respuesta Responder a este mensaje
Ads by Google
Help Hacer una preguntaSiguiente Respuesta Tengo una respuesta
Search Busqueda sugerida