Quantcast
Channel: MySQL Forums - Connector/ODBC
Viewing all 1136 articles
Browse latest View live

ODBC error with Access (no replies)

$
0
0
Hi,
I create a DB on my Web space and I use it as a back-end for an Access application.
I installed the ODBC 5.3, all run very well, but some times, many times during my development, I have this error:

mysqld-5.6.30-log Lost connection to MySQL server during query (#2013)

I don't know the exactly moment when this error arrive, because I use my forms, I use some queries, I open the linked tables, etc.
I leave my PC for a coffe and when I can back it run, I leave Acces open to read an email and after it not run.
I try also to check "Enable automatic reconnect".
I find on Internet that with new ODBC release the timeout setting not exists.

Thanks for te help.

Locks not releasing (no replies)

$
0
0
Perhaps someone can assist .. I am running a MSACCESS DB - using ODBC with MySql underneath. I have MANY QUERIES that update a row of data within the MySql environment baes on a single record in an ACCESS Table that has a unique key that joins to the unique key of the MySql Table .. these all work well.

As soon as the ACCESS Table has a population of rows more than 1 .. and all rows still have unique keys .. the first iteration of the UPDATE QUERY work in ACCESS - HOWEVER the LOCKS for those rows are not released and the next time I run the same ACCESS Quesry .. the update fails -- because of record locks ??

Here is a sample of the SQL within the QUERY DEF of the Microsoft DB.

UPDATE Tbl_Local_cc_incident_notes INNER JOIN dbo_cc_incident_notes
ON Tbl_Local_cc_incident_notes.CC_Incident_Note_id = dbo_cc_incident_notes.CC_Incident_Note_id SET dbo_cc_incident_notes.CC_Incident_note = [Tbl_Local_cc_incident_notes].[CC_Incident_note];

Installation of ODBC connector fails (no replies)

$
0
0
I would like to request your help due to while trying to install ODBC driver for MySQL by using Version 5.3.4 (mysql-connector-odbc-5.3.4-linux-sles11-x86-64bit.tar) for SUSe Linux Enterprise
I get the next error:

myodbc-installer -a -d -n "MySQL ODBC 5.3 Driver" -t "Driver=/usr/local/lib/libmyodbc5w.so" myodbc-installer: error while loading shared libraries: libodbc.so.2: cannot open shared object file: No such file or directory

These are the steps I followed up
http://dev.mysql.com/doc/connector-odbc/en/connector-odbc-installation-binary-unix-tarball.html

The error appears just after executing step 3 after execute the next command:

shell> myodbc-installer -a -d -n "MySQL ODBC 5.3 Driver" -t "Driver=/usr/local/lib/libmyodbc5w.so"

Please let me know if you require further details, I appreciate your support

ODBC Malformed Packet Error (no replies)

$
0
0
Hi there, im trying to create an ODBC data source on Windows 8.1 for a MySQL server for use in Qlik Sense to create some charts. I am getting the error: Malformed Packet whenever I try to run the ODBC test. Any help or previous experiences are welcome

SQL Set Statements and ODBC (no replies)

$
0
0
Hello,

I have created a SQL query in MySQL workbench which uses a SET statement to update numerous parts of the query with a specific date. The statement is :

SET @MaxDate = '2016-04-30';

Whenever I run the query, all I have to do is change the month end date. I tried to use this same query in excel using an ODBC connection to my data base but get a syntax error. If I remove the Set statement in the ODBC SQL statement within excel, the query will run without the error.

I would like to be able to use an ODBC connection to pull month end information from my database by only updating the date one time in my query.

Please help.

Protocol Version Mismatch Error on ODBC Connection Configuration (1 reply)

$
0
0
Hi,

I am trying to generate an ODBC connection to a server with a Public IP.

I enter the credentials correctly but I get the following error:

"Connection Failed
[MySQL][ODBC 5.3(a) Driver]SSL connection error: protocol version mismatch"

I have checked with the Customer and they have confirmed me that there is no need to use any SSL to connect to the machine.

The connection configuration options are left with the predefined values.

Can somebody give me any ideas on how to move on?

Thanks in advance.

MySQL 32 bits Connector does not show up on the Windows 7 Data Sources (no replies)

$
0
0
I installed the MySQL 32 bits connector in my Windows 7 64 bits.

The issue is that the ODBC you may be accessing from the start menu points to the System32 sub folders in the Windows main folder, which is the 64 bits version of the odbc.

Meanwhile, the 32 bits version of the odbc is in the SysWOW64 subfolder in the main Windows folder.

It is that version (odbcad32.exe the one you might want to execute in order to add your new User Data Source. Otherwise it will never find the MySQL connector you just installed (because it is the 32 bits version).

Once you do that, it will be shown in both the 32 and 64 bits versions of the Data Sources (ODBC).

I hope this helps! :)

ODBC failure under windows server 2012 R2 (no replies)

$
0
0
I have tried to install MYSQL ODBC 5.3 Unicode Driver. I followed the recommendations for copying msvcr100.dll and msvcr120.dll to finally get it to install but when I try to use the connector I fill out the details then click on test and I get the

Connection Failed - Specified driver could not be loaded due to system error 127: The specified procedure could not be found. (MySQL ODBC 5.3 Unicode Driver, c:\Program Files\MYSQL\Connector ODBC 5.3\myodbc5w.dll).:

which I think was the same message I was getting when trying to install but was fixed by the copying of the dlls. I have tried installing C++ visual studio etc but no joy.

Thank you for any help.

Build error of mysql-connector-odbc-5.3.6 on Solaris spac10 (no replies)

$
0
0
Since there is no GA version of mysql-connector-odbc-5.3.6 for Solaris sparc 10, I have to build it from the source codes. But I meet the following errors in the build process:
[ 6%] Building C object driver/CMakeFiles/myodbc5a.dir/catalog.c.o
cc: Warning: illegal use of -library option, illegal item ignored: stlport4
cc: Warning: illegal use of -library option, empty value ignored
cc: Warning: Option -0 passed to ld, if ld is invoked, ignored otherwise
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/driver.h", line 376: syntax error before or at: ->
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/driver.h", line 376: warning: syntax requires ";" after last struct/union member
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/driver.h", line 592: warning: attribute "unused" is unknown, ignored
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/catalog.h", line 74: warning: attribute "unused" is unknown, ignored
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/catalog.h", line 75: warning: attribute "unused" is unknown, ignored
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/catalog.h", line 82: warning: attribute "unused" is unknown, ignored
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/catalog.h", line 83: warning: attribute "unused" is unknown, ignored
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/catalog.h", line 90: warning: attribute "unused" is unknown, ignored
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/catalog.h", line 91: warning: attribute "unused" is unknown, ignored
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/catalog.h", line 111: warning: attribute "unused" is unknown, ignored
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/catalog.h", line 112: warning: attribute "unused" is unknown, ignored
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/catalog.h", line 113: warning: attribute "unused" is unknown, ignored
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/catalog.h", line 114: warning: attribute "unused" is unknown, ignored
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/catalog.h", line 119: warning: attribute "unused" is unknown, ignored
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/catalog.h", line 120: warning: attribute "unused" is unknown, ignored
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/catalog.h", line 128: warning: attribute "unused" is unknown, ignored
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/catalog.h", line 129: warning: attribute "unused" is unknown, ignored
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/catalog.h", line 136: warning: attribute "unused" is unknown, ignored
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/catalog.h", line 137: warning: attribute "unused" is unknown, ignored
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/catalog.h", line 145: warning: attribute "unused" is unknown, ignored
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/catalog.h", line 146: warning: attribute "unused" is unknown, ignored
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/catalog.h", line 148: warning: attribute "unused" is unknown, ignored
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/catalog.h", line 149: warning: attribute "unused" is unknown, ignored
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/catalog.h", line 160: warning: attribute "unused" is unknown, ignored
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/catalog.h", line 161: warning: attribute "unused" is unknown, ignored
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/catalog.h", line 164: warning: attribute "unused" is unknown, ignored
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/catalog.c", line 159: warning: implicit function declaration: my_stpmov
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/catalog.c", line 159: warning: improper pointer/integer combination: op "="
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/catalog.c", line 165: warning: improper pointer/integer combination: op "="
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/catalog.c", line 168: warning: improper pointer/integer combination: op "="
...
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/catalog.c", line 1224: warning: left operand of "->" must be pointer to struct/union
"/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/catalog.c", line 1236: cannot recover from previous errors
cc: acomp failed for /export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/catalog.c
*** Error code 2
The following command caused the error:
cd /export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver && /bin/cc -DDBUG_OFF -DHAVE_LIBDL -DHAVE_LPCWSTR -DTHREAD -DUSE_SQLCOLATTRIBUTE_SQLLEN_PTR -DUSE_SQLPARAMOPTIONS_SQLULEN_PTR -DUSE_UNIXODBC -D_UNIX_ -Dmyodbc5a_EXPORTS -I/export/home/gmlcmt/mysql5.6.31/usr/local/mysql/include -I/usr/local/unixODBC64/include -I/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src -I/export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/../util -m64 -KPIC -I/export/home/gmlcmt/mysql5.6.31/usr/local/mysql/include -library=stlport4 -g0 -mt -xarch=sparc -o CMakeFiles/myodbc5a.dir/catalog.c.o -c /export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src/driver/catalog.c
make: Fatal error: Command failed for target `driver/CMakeFiles/myodbc5a.dir/catalog.c.o'
Current working directory /export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src
*** Error code 1
The following command caused the error:
make -f driver/CMakeFiles/myodbc5a.dir/build.make driver/CMakeFiles/myodbc5a.dir/build
make: Fatal error: Command failed for target `driver/CMakeFiles/myodbc5a.dir/all'
Current working directory /export/home/gmlcmt/mysql/mysql-connector-odbc-5.3.6-src
*** Error code 1
The following command caused the error:
make -f CMakeFiles/Makefile2 all
make: Fatal error: Command failed for target `all'

Does anybody know the root cause? Your help is highly appreciated!

Problem with odbc driver 3.51.30 compared to 3.51.26 (no replies)

$
0
0
SQLExecute function fails with SQL_NEED_DATA in mysql odbc driver version 3.51.30. But the same function works perfectly in mysql driver version 3.51.26. Is this due to an API difference in the above versions?
I searched a bit on net and found a reference like the executing the following functions in order SQLBindParamater, SQLBindParameter, SQLPrepare and SQLExecute would solve the issue. But that didn’t worked for me.

Also we tried doing a SQLParamData followed by SQLPutData as found in another reference. That worked. But that is little difficult for us
But we are really interested in knowing whether the difference in behaviour is due to API change or the actual reason for the same. Please suggest a better solution for this issue.

unhandled error from mysql_next_result() when calling stored procedure from ODBC (1 reply)

$
0
0
Hello everyone, I am developing a .NET website using Framework 4.0 and the ODBC connector to MySQL. (For some reason I couldn't find how to use the Connector\net with datasource objects, but that is for another post).

I am calling a stored procedure with one input parameter and two output parameters. When calling it from MySQL workbench it works as expected, but when calling it from my .net project it gives the error below.

So here is the .net code:
OdbcConnection o = new OdbcConnection(ConfigurationManager.ConnectionStrings["CervezaPro"].ToString());
o.Open(); //Se abre la conexión a base de datos
OdbcCommand oc = o.CreateCommand();
oc.CommandType = CommandType.StoredProcedure;
oc.CommandText = "{ CALL CongelarProceso(?,?,?) }";
oc.Parameters.AddWithValue("p_idRecetas", DDLReceta.SelectedValue);
OdbcParameter mensaje = new OdbcParameter("p_mensaje", OdbcType.VarChar,2000);
mensaje.Direction = ParameterDirection.Output;
OdbcParameter resultado = new OdbcParameter("p_resultado", OdbcType.Int);
resultado.Direction = ParameterDirection.Output;
oc.Parameters.Add(mensaje);
oc.Parameters.Add(resultado);
oc.ExecuteNonQuery();

And this is the stored procedure:
CREATE DEFINER=`root`@`localhost` PROCEDURE `CongelarProceso`(in p_idRecetas int, out p_Mensaje varchar(2000), out p_resultado int)
BEGIN
DECLARE done INT DEFAULT FALSE;
dECLARE vStatus int;
declare vDescripcion varchar(100);
declare vEtapa, vIniciocicLo, vFinciclo, vInsumo1, vCantidadProceso, vInsumo2, vCantidadReceta int;
Declare cProceso cursor for select etapaproceso, iniciociclo, finciclo
from procesoelaboracion where recetas_encabezado_idRecetas = p_idRecetas
order by etapaproceso;
Declare cDiscrepancias cursor for SELECT
*
FROM
(SELECT
insumomateriaprima insumos_idinsumos,
SUM(cantidadprocesoanadir) * REPETICIONES_PROCESO(pe.recetas_encabezado_idrecetas, pe.etapaproceso) cantidadproceso
FROM
MateriaPrimaProceso mp, procesoelaboracion pe, insumos i
WHERE
mp.procesoelaboracion_idprocesoelaboracion = pe.idprocesoelaboracion
AND mp.insumomateriaprima = i.idinsumos
AND i.descripcion <> 'Instrucción Especial'
AND pe.recetas_encabezado_idrecetas = p_idRecetas
GROUP BY insumomateriaprima) proceso
LEFT JOIN
(SELECT
insumos_idinsumos, cantidad
FROM
recetas_detalle
WHERE
recetas_encabezado_idrecetas = p_idRecetas) recetas ON proceso.insumos_idinsumos = recetas.insumos_idinsumos
WHERE
recetas.insumos_idinsumos IS NULL
OR recetas.cantidad <> proceso.cantidadproceso
UNION SELECT
*
FROM
(SELECT
insumomateriaprima insumos_idinsumos,
SUM(cantidadprocesoanadir) * REPETICIONES_PROCESO(pe.recetas_encabezado_idrecetas, pe.etapaproceso) cantidadproceso
FROM
MateriaPrimaProceso mp, procesoelaboracion pe, insumos i
WHERE
mp.procesoelaboracion_idprocesoelaboracion = pe.idprocesoelaboracion
AND mp.insumomateriaprima = i.idinsumos
AND i.descripcion <> 'Instrucción Especial'
AND pe.recetas_encabezado_idrecetas = p_idRecetas
GROUP BY insumomateriaprima) proceso
RIGHT JOIN
(SELECT
insumos_idinsumos, cantidad
FROM
recetas_detalle
WHERE
recetas_encabezado_idrecetas = p_idRecetas) recetas ON proceso.insumos_idinsumos = recetas.insumos_idinsumos
WHERE
proceso.insumos_idinsumos IS NULL
OR recetas.cantidad <> proceso.cantidadproceso;
set vStatus = 0;
set p_Mensaje = '';
set p_resultado = 0;
open cProceso;
begin
DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE;
lectura: loop
fetch cProceso into vEtapa, vIniciociclo, vFinciclo;
if done then
LEAVE lectura;
end if;
if vInicioCiclo = 1 then
if vStatus = 1 then
set p_mensaje = concat(p_Mensaje,'\nSe detectó un inicio de ciclo sin que se haya cerrado el ciclo anterior en la etapa: ', vEtapa);
set p_resultado = -1;
else
set vStatus = 1;
end if;
end if;
if vFinCiclo = 1 then
if vStatus = 0 then
set p_Mensaje = concat(p_Mensaje,'\nSe detectó un fin de ciclo sin un inicio de ciclo correspondiente en la etapa: ', vEtapa);
set p_Resultado = -1;
leave lectura;
else
set vStatus = 0;
end if;
end if;
END LOOP;
end;
if vStatus = 1 then
set p_Mensaje = concat(p_Mensaje,'\nSe detectó un inicio de ciclo sin cerrar en el proceso.');
set p_Resultado = -1;
end if;
open cDiscrepancias;
begin
DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE;
set done = false;
lecturad:Loop
fetch cDiscrepancias into vInsumo1, vCantidadProceso, vInsumo2, vCantidadReceta;
if done then
LEAVE lecturad;
end if;
SELECT
descripcion
INTO vDescripcion FROM
insumos
WHERE
idinsumos = vInsumo1;
set p_Mensaje = concat(p_Mensaje, '\nInsumo: ',vDescripcion, ' Cantidad en proceso: ', vCantidadProceso, ' Cantidad en receta: ', vCantidadReceta);
set p_resultado = -1;
end loop;
end;
if p_resultado = 0 then
UPDATE procesoelaboracion
SET
congelarproceso = 1
WHERE
recetas_encabezado_idrecetas = p_idRecetas;
end if;
END

And finally, this is the error that appears when executing from .NET:
Server Error in '/' Application.

ERROR [HY000] [MySQL][ODBC 5.3(a) Driver][mysqld-5.6.30]unhandled error from mysql_next_result()
ERROR [HY000] [MySQL][ODBC 5.3(a) Driver][mysqld-5.6.30]unhandled error from mysql_next_result()
ERROR [HY000] [MySQL][ODBC 5.3(a) Driver][mysqld-5.6.30]unhandled error from mysql_next_result()
ERROR [HY000] [MySQL][ODBC 5.3(a) Driver][mysqld-5.6.30]unhandled error from mysql_next_result()
ERROR [HY000] [MySQL][ODBC 5.3(a) Driver][mysqld-5.6.30]unhandled error from mysql_next_result()
ERROR [HY000] [MySQL][ODBC 5.3(a) Driver][mysqld-5.6.30]unhandled error from mysql_next_result()
ERROR [HY000] [MySQL][ODBC 5.3(a) Driver][mysqld-5.6.30]unhandled error from mysql_next_result()
ERROR [HY000] [MySQL][ODBC 5.3(a) Driver][mysqld-5.6.30]unhandled error from mysql_next_result()
(The line repeats an uncountable amount of times)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.Odbc.OdbcException: ERROR [HY000] [MySQL][ODBC 5.3(a) Driver][mysqld-5.6.30]unhandled error from mysql_next_result()
ERROR [HY000] [MySQL][ODBC 5.3(a) Driver][mysqld-5.6.30]unhandled error from mysql_next_result()
ERROR [HY000] [MySQL][ODBC 5.3(a) Driver][mysqld-5.6.30]unhandled error from mysql_next_result()
ERROR [HY000] [MySQL][ODBC 5.3(a) Driver][mysqld-5.6.30]unhandled error from mysql_next_result()
ERROR [HY000] [MySQL][ODBC 5.3(a) Driver][mysqld-5.6.30]unhandled error from mysql_next_result()
ERROR [HY000] [MySQL][ODBC 5.3(a) Driver][mysqld-5.6.30]unhandled error from mysql_next_result()
ERROR [HY000] [MySQL][ODBC 5.3(a) Driver][mysqld-5.6.30]unhandled error from mysql_next_result()
ERROR [HY000] [MySQL][ODBC 5.3(a) Driver][mysqld-5.6.30]unhandled error from mysql_next_result()
ERROR [HY000] [MySQL][ODBC 5.3(a) Driver][mysqld-5.6.30]unhandled error from mysql_next_result()
ERROR [HY000] [MySQL][ODBC 5.3(a) Driver][mysqld-5.6.30]unhandled error from mysql_next_result()
(this line again repeats too many times)

Source Error:



Line 184: oc.Parameters.Add(mensaje);
Line 185: oc.Parameters.Add(resultado);
Line 186: oc.ExecuteNonQuery();


Stack Trace:



[OdbcException (0x80131937): ERROR [HY000] [MySQL][ODBC 5.3(a) Driver][mysqld-5.6.30]unhandled error from mysql_next_result()
ERROR [HY000] [MySQL][ODBC 5.3(a) Driver][mysqld-5.6.30]unhandled error from mysql_next_result()
ERROR [HY000] [MySQL][ODBC 5.3(a) Driver][mysqld-5.6.30]unhandled error from mysql_next_result()
ERROR [HY000] [MySQL][ODBC 5.3(a) Driver][mysqld-5.6.30]unhandled error from mysql_next_result()

(line again repeats)

System.Data.Odbc.OdbcDataReader.NextResult(Boolean disposing, Boolean allresults) +1056179
System.Data.Odbc.OdbcDataReader.Close(Boolean disposing) +52
System.Data.Odbc.OdbcDataReader.Close() +11
System.Data.Odbc.OdbcCommand.ExecuteScalar() +140
ProcesoElaboracion.ButCongelar_Click(Object sender, EventArgs e) in c:\Users\shinaco\Documents\Visual Studio 2015\WebSites\HelloWorld\Cerveza\ProcesoElaboracion.aspx.cs:186
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +9692746
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +12
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +15
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +35
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3562

Any help regarding this would be very much appreciated

ODBC 5.3 MySQL Configuration Window (no replies)

$
0
0
How can I stop the Configuration window from popping up when the connection attempt in my program fails? (it suppresses a needed window in my program from being accessed).
Steve

Access 2002 Forgetting mySQL login info (no replies)

$
0
0
Connector: ODBC5.1

I am running Access 2002 on Server 2003 and for the better part of a year my ODBC connection to a remote mySQL database worked perfectly.

One day it started making me re-enter the User: and Password: once after each time my database application was restarted.

More recently, it started randomly forgetting this info without the application even being restarted. In this case, inputting just the User: field seems to make it resume the connection.

I have uninstalled and re-installed the 5.1 connector but the problem persists. I tried installing the latest ODBC connector but for some reason it will not install on my server.

Has anyone experienced this problem and if so were you able to solve the issue?

Solaris 9 ODBC Driver (no replies)

$
0
0
Hi

Can someone tell me what the latest ODBC driver for Solaris 9 is? We are using mysql-connector-odbc-3.51.27-solaris9-sparc-64bit but are having issues using it with Data Services Data Integrator.

Thanks

ODBC Connector for Yosemite 10.10.5 -- installation problem (no replies)

$
0
0
I run the .dmg My SQL ODBC Connector for Yosemite 10.10, and when is in the package validation step it sends me an error.

"Error during the instalation. The installer has detected an error that preclude the installation. Please contact the software fabricant."

Anyone knows whats going wrong?

Thank you,
Gastón.
Chile

Win7 32bit programmatic DSN creation causing Exception (no replies)

$
0
0
I am trying to add a DSN from a C#.Net application.

I am using the following,
SQLConfigDataSource from ODBCCP32.dll

When calling, I receive a System.AccessViolationException

I don't receive this exception when using a different driver (such as "Sql Server")

Also worth noting, is that if I remove myodbc5S.* from the mysql connector directory this exception no longer happens and the call executes and returns an odbc error:
ODBC Error <ODBC_ERROR_LOAD_LIB_FAILED>: The setup routines for the MySQL ODBC 5.3 ANSI Driver ODBC driver could not be loaded due to system error code 126: The specified module could not be found. (C:\VPD3\VPD3 Database\5.3.6-win32\myodbc5S.dll).

From what I can tell the myodbc5s.* files support the GUI part of making a DSN connection.

Is there a way to turn this feature off? Has anyone else had a problem with this?

myodbc5a.dll missing (no replies)

$
0
0
Hello,

I really need some help in installing ODBC driver. When I tried to set up the driver using Server Instance Configuration Wizard the connection was unsuccessful.

I am no longer able to open up this Wizard and when I try to execute SQL from Excel it keeps saying myodbc5a.dll missing "module not found".

Can anyone help me please?

Thank you,
Rashida

SUM Function does not exists (no replies)

$
0
0
I am using mysql 5.5.11, when i execute the script below

INSERT INTO payments(created, Amount, user, Remarks, orderid, paymethod)
VALUES('2016-09-03', 0.0, 'admin', '', 4, 'Cash');

I get error

SQL Error: FUNCTION mydb.SUM does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual


This is the table schema

CREATE TABLE payments (
ID int AUTO_INCREMENT NOT NULL,
OrderID int,
Amount decimal(11,2),
Created varchar(20),
Remarks varchar(160),
user varchar(60),
PayMethod varchar(60) CHARACTER SET utf8 COLLATE utf8_general_ci,
/* Keys */
PRIMARY KEY (ID)
) ENGINE = InnoDB;

cells are truncated when connecting ODBC to third party software (no replies)

$
0
0
Hi All,

Connecting Alteryx software to our database using an ODBC connector (64bit). Using a pre-written SQL statement I am attempting to query customer feedback. I've noticed that when reporting straight from MySql (connecting straight to our database) the verbatim is full and complete.

However, when reporting the same query through the ODBC connector, the verbatim is truncated.

Is there a way I can specify my ODBC connector to not truncate? Or is there perhaps something I'm doing wrong?

Appreciate the help.

Error 10061 (no replies)

$
0
0
Hi everybody,
i am totally new in SQL.
I need to comunicate from labview to sql.
I am trying to create an odbc data source configuration.
But when i press "Test" button it gives to me this error [MySQL][ODBC5.3 Driver] Can't Connect to MySQL Server on 'localhost' (10061)

How can i do?!
Viewing all 1136 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>