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

MySQL 8.0.29: Release Notes (no replies)

$
0
0

ODBC Excel Connection - Key Not Present (no replies)

$
0
0
I've installed the MySQL for Excel 1.3.8 as well as the ODBC 8.0.29. The add in correctly installed to Excel. When I go to the data tab I can see MySQL there. It lists my connections correctly however when I double click on any of them (local or on a hosted server) I receive the following error.

Connection Attempt Failed
The given key was not present in the dictionary.

This connection works when I go to workbench I'm able to open the data base immediately. My credentials are correct.

I tried using a bad password and it stopped me stating the credentials were bad so I also checked and changed the collation of the databases and tables on my local because someone was suggesting that as a possibility in a separate thread.

I've also tried installing an older odbc connector as well as 32 bit versions.

I'm rather stumped on this as it's not giving me a more detailed error and I am able to access it through workbench. Has anyone run across this or have suggestions to try?

ODBC connect with FIPS (no replies)

$
0
0
Hi,
My goal is to be able to connect as client with FIPS option on using ODBC.

I've added to my.cnf file the "ssl-fips-mode" option and set my ODBC driver to read from this file but it seems the ODBC driver is ignoring this option.

I've tried to set wrong values (such as "KUKU","455"...) and correct values and to connect with/without SSL. the connection is always successful and it seem the driver ignoring the "ssl-fips-mode" option.

I've used 8.00.25 and 5.03.13 drivers and both worked the same way.

to sum up here's my questions:
1. Is there a way to use mysql ODBC with FIPS?
2. How can i get indication that it work or failed when I'm trying to connect to a specific server?
3. should I add an additional libraries in order to do so? (such as OpenSSL FIPS Object Module)

Thanks for your help,
Ben

MS Access ODBC Connector #Deleted for all fields on some tables (1 reply)

$
0
0
Hello,

This #Deleted glitch seems to rear its head on different tables in my database depending on the particular version of Office 365 Home Premium I have deployed and also the version of Connector/ODBC.

Older versions behave as desired for the most part.

Referencing the version combination of Microsoft Office 365 Version 2204 (Build 16.0.15128.20248 Click-to-Run) and MySQL ODBC Connector 8.0.23, this version works as desired.

When using "Linked Tables" functionality, all rows are returned with no #Deleted showing.

Upgrading O365 to 2205 introduces odd behavior;

#Deleted is returned for all fields in all rows when viewing the table directly in table view, query, or form.

If "Localize Tables" is used, Connector/ODBC will pull down the entire contents of the table, seemingly without issue.

The behavior is limited to the "Linked Tables" behavior of MS Access.

Attached is an ODBC trace containing the error.

ODBC Connection error v8.0.29 (no replies)

$
0
0
Hi,

I upgraded to the latest version of the ODBC connector and now get an error saying Data source name not found and no default driver specified.

This is my current connection string:

strSQL = "Driver={MySQL ODBC 8.0 ANSI Driver};SERVER=" & SQLSERVER & ";UID=" & SQLUSER & ";PWD=" & SQLPWD & ";DATABASE=" & SQLDBNAME & ";PORT=" & SQLPORT & ";"

Can you help?

Connector/ODBC ExtractValue() (no replies)

$
0
0
I'm using Connector/ODBC with Excel/VBA, but the ExtractValue() function doesn't work, everything else is fine.


CREATE TABLE cd (
Id INT(11) NOT NULL,
XML LONGTEXT NULL );

INSERT INTO cd VALUES (3, '<a>aa<b>xx1</b></a>');
INSERT INTO cd VALUES (4, '<a>bb<b>xx2</b></a>');
INSERT INTO cd VALUES (5, '<a>cc<b>xx3</b></a>');
INSERT INTO cd VALUES (2, '<a>dd<b>xx4</b></a>');
INSERT INTO cd VALUES (1, '<a>ee<b>xx5</b></a>');

select id, ExtractValue(xml, '/a') AS val1, ExtractValue(xml, '/a/b') AS val2 from cd;

Sub consql()
Dim con As ADODB.Connection
Dim rs As ADODB.Recordset
Dim lsql As String
Set con = New ADODB.Connection
Set rs = New ADODB.Recordset
con.ConnectionString = "DRIVER={MySQL ODBC 5.3 Unicode Driver};" & _
"SERVER=192.168.0.0;" & _
"DATABASE=basedata;" & _
"Port=3306;" & _
"USER=user;" & _
"PASSWORD=rudely; OPTION=3"
con.Open
lsql = "select id, ExtractValue(xml, '/a') AS val1, ExtractValue(xml, '/a/b') AS val2 from cd"
rs.Open lsql, con
Plan1.Range("a5").CopyFromRecordset rs
End Sub

SSIS - fetch data from MySQL 8.0.11 with MySQL 8.0 ODBC Unicode Driver (32-bit) (no replies)

$
0
0
Hi Guys,

I am developing an SSIS package right now where I have to pull large amounts of data (~45 million rows) from a MySQL DB.

It works pretty well when querying only a small amount of data (let's say 2 million rows), but when I try to fetch all rows, it sends an 'Invalid column name' error ('HY000'. Code: 517).

Has anyone encountered this problem before?

On ODBC side,
- allow big results set
- enable automatic reconnect
- allow multiple statements
are checked.

Any feedback/help appreciated!

Thanks,

Br

Tibor

Using a MySQL OBDC connection with the Standard TCP/IP over SSH connection method (no replies)

$
0
0
Hi,
I need to connect to a MySQL database hosted on a machine that uses Standard TCP/IP over SSH connection method.
I think to create a MySQL ODBC connection but I don't know which settings I need to do in order to take into account the Standard TCP/IP over SSH connection method.

Any suggests to me, please? Thanks

MySQL 8.0.30: Release Notes (no replies)

$
0
0

Need to Connect odbc ms acccess and mysql (9 replies)

$
0
0
i have connected to access to mysql but table is not displaying in mysql, i dont know how to connect actually link

Driver error on table with geometry columns (no replies)

$
0
0
Hi,
I get a mysterious error that occurs when I run a SELECT * query on a MySQL table that contains a GEOMETRY column.
It happens only with ODBC driver versions 8.0.26 thru 8.0.30 (Windows or Linux).

The native error is 517, SQL State HY000, and the message is
"MySQL][ODBC 8.0(w) Driver][mysqld-8.0.20]" with no further text.

I didn't find any explanation to these error + state.

Any idea what this can be?

Thanks

Connector/ODBC (no replies)

$
0
0
I am trying to establish a link server connection between MySQL database and MS SQL server 2019 database using ODBC. I am using the ODBC driver 5.1.13.
But I cannot establish an ODBC connection to the MySQL database. I am using the same ODBC drivers 5.1.13 with MS SQL Server 2012 and I can establish the connection with the MySQL database.
The MySQL database is version 5.7.12 and the MS SQL Server is 2019. I assume might need different ODBC connectors? If so, which ODBC version do I need?

Driver Out of memory (no replies)

$
0
0
Hi,
Asking to display more than 120k lines on Tableau Server, I got the following message :

MySQL ODBC 8,0(w) Driver mysqld-5.6.47.0 Out of memory (Needed 2184 bytes)
Error code: B19090E0

Where does it come from ? Is it a buffer problem ?

Thanks,

Alexis

Enhancement to mysql odbc to improve Aurora failover recovery (no replies)

$
0
0
When an Aurora MySql cluster fails over it can take 30 seconds or more before the DNS is updated to allow the client to reconnect to the writer. Aurora MySql has an internal function to query the current topology. By querying the internal topology we can use this to reduce the failover time to around 5 seconds. We (Amazon) would like to propose an enhancement to the ODBC driver that would leverage this feature. What is the best way to proceed to get this into the ODBC driver ?

Regards,

Dave Cramer

mysql table cannot be imported in Data Service (no replies)

$
0
0
We are using Data Service 4.2 SP14. The Datastore for mysql could be created and we could see the table name.

However when we want to import the table, we encountered the following error. We tried two users of mysql DB, one is with the read only access and the other is with full access. But neither of them works. Could you please let us know how to resolve this issue? Thanks!

Error:Cannot import metadata.
ODBC data source : error message for operation <SQLFetch>:[MySQL][ODBC 8.0(W)] Driver][mysqld-5.7.33-log]Fetch without a SELECT>.(BODI-1112338)

Debug Zip (no replies)

$
0
0
The docs mention that the debug files are now in a new zip. I am unable to find this zip anywhere. Is this more something that I should be making myself with the source files? If that's the case, then the docs should be updated to state this. Otherwise adding a link in the docs to the debug zip would be very helpful!

charset problem view (1 reply)

$
0
0
Situation: I've two client; Alice and Trudy
On Alice and Trudy I've installed workbench 8.0.31 and odbc connector.

charset is:
character_set_client | utf8mb4 |
| character_set_connection | utf8mb4 |
| character_set_database | utf8mb4 |
| character_set_filesystem | binary |
| character_set_results | utf8mb4 |
| character_set_server | utf8mb4 |
| character_set_system | utf8mb3 |
| collation_connection | utf8mb4_0900_ai_ci |
| collation_database | utf8mb4_0900_ai_ci |
| collation_server | utf8mb4_0900_ai_ci |
Alice and Trudy S.O: windows 10 pro 22H2 build 19045.2364
On ODBC(64 bit) I use MySQL ODBC 8.0 Unicode Driver 8.00.31.00
On Alice I see correct name ''Jeffrén' from a select name from table; on Trudy I see 'Jeffr├®n'
Why? Solution please?

describe table from oracle to mysql shows wrong data type (3 replies)

$
0
0
Hi

I have upgraded mysql odbc in a server where Oracle 19c is running, we use this ODBC to access a remote MYSQL database. The ODBC driver installed is 8.0.31.

The developers noticed that when describe table we see different behaviour compare with previous ODBC which was 5.3.6.



ODBC 5.3.6
SQL> desc "lecturas"@mysql_t
Name Null? Type
----------------------------------------- -------- ----------------------------
idSim NOT NULL NUMBER(10)
idAlfresco NOT NULL VARCHAR2(65 CHAR)
nombre NOT NULL VARCHAR2(60 CHAR)
descripcion VARCHAR2(500 CHAR)
bloqueado CHAR(1 CHAR)

ODBC 8.0.31
SQL> desc "lecturas"@mysql_t
Name Null? Type
----------------------------------------- -------- ----------------------------
idSim NOT NULL NUMBER(10)
idAlfresco NOT NULL VARCHAR2(780)
nombre NOT NULL VARCHAR2(720)
descripcion LONG
bloqueado CHAR(12)



Anyone have observer this behaviour change?

SSL Connetion (Host Europe) fails, without SSL works - why? (3 replies)

$
0
0
Hello together!

I wan't to connect to a MySQl Database via SSL. Without SSL no problem but with SSL I get an Error. Here are some details:

MYSQL-Datebase Version: 8.0.30-22
Connector Version: odbc-8.0.32-win32 (I need the 32 bit Version for my 32 bit Access Program)
OS: Windows 10 Pro

I dowloaded the SSL key files from my Hoster (hosteurope.de) and have set the database for external access.

Without any SSL-Settings, connection works!

After this I have set up the following SSL Settings:
SSL Key -> Path to key file in PEM Format (ANSI)
SSL Certificate -> Path to Cert file in PEM Format (ANSI)
SSL CA File -> Path to CA file in PEM Format (ANSI)
SSL Key -> Path folder there the 3 files above are stored.
Everythung else is blanc

Then I press Test I get the following Error:
[MySQL][ODBC 8.0(a) Driver]SSL connection error: error:1416F086:SSL routines:tls_process_server_certificate: certificate verify failed[HY000]

What can I do?

Thank you!
Philipp

unable to load mysql ODBC 8.0 unicode driver on Excel for mac (3 replies)

$
0
0
I have installed iodbc and Connector/ODBC 8.0.32(ARM), and the connection DSN was also tested successfully on iodbc data source administrator(Apple Silicon).

However, when I try to load DSN on Excel, the Excel raises a warning: [iODBC][Driver Manager]Specified driver could not be loaded. How can I connect mysql data to Excel?

My mac has Apple m2 , the macOS version is 13.2.1 and the Excel version is 2021.

Thanks for any advice.
Viewing all 1136 articles
Browse latest View live


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