Solved MariaDB - odbc windows driver now broken - but alternative works :


jimbo45

Well-known member
Pro User
VIP
Local time
9:41 AM
Posts
5,940
Location
Hafnarfjörður IS
OS
Windows XP,11 Linux Fedora Rawhide pre-release 46
Hi folks

With the latest updates to MariaDB it appears the Windows ODBC driver isn't working (at least the 64 bit one). You need an ODBC driver for example if you use EXCEL with a Microsoft query to extract data from a MariaDB type database into an EXCEL worksheet

However there's a community edition version of a "Generic" ODBC driver which works perfectly on W11 Canary edition and latest MariaDB update. (MariaDB is the free / community database that has replaced MySQL - and is source compatible with it.)

Load from here :


Now EXCEL can retrieve data via MS query from remote mariaDB. (In the get data from EXCEL use Ms query as the data source).

For example :

Screenshot 2023-07-09 090113.png

Screenshot 2023-07-09 090226.png

Screenshot 2023-07-09 090323.png

Screenshot 2023-07-09 090420.png

"Seemples" --- BTW test data --no "Real personal data" -- this is the test DB on the Internet which you can download into MariaDB if you want to try this sort of stuff.

Test database available from here : MySQL :: Employees Sample Database


Note - to import a .sql file into mariadb simply first create a database e.g mysql -u hrafn -p;
create database employees; exit; Then do the import (change to the directory where the source is of course).
mysql -u hrafn -p employees <employees.sql; exit;

I was on a gig recently where a couple of people hadn't ever heard of this and were writing all sorts of convoluted code converting to csv (and getting it wrong because of character sets / iso int'l codes etc) and still were messing around after 2 weeks. This stuff took me around 30 mins to get correct !!!!!

Who says older people are hopeless with technology !!


Have fun

cheers
jimbo
 

My Computer My Computer

At a glance

Windows XP,11 Linux Fedora Rawhide pre-releas...2 X Intel i7
OS
Windows XP,11 Linux Fedora Rawhide pre-release 46
Computer type
PC/Desktop
CPU
2 X Intel i7
Screen Resolution
4KUHD X 2

My Computer My Computer

At a glance

WIN 11, WIN 10, WIN 8.1, WIN 7 U, WIN 7 PRO, ...Intel i7 6900K and i9-7960X / AMD 3800X (8 core)128 GB CORSAIR DOMINATOR PLATINUM (B DIE)NVIDIA 1070 and RTX 3070
OS
WIN 11, WIN 10, WIN 8.1, WIN 7 U, WIN 7 PRO, WIN 7 HOME (32 Bit), LINUX MINT
Computer type
PC/Desktop
Manufacturer/Model
DIY, ASUS, and DELL
CPU
Intel i7 6900K and i9-7960X / AMD 3800X (8 core)
Motherboard
ASUS X99E-WS USB 3.1 and ASUS X299 SAGE
Memory
128 GB CORSAIR DOMINATOR PLATINUM (B DIE)
Graphics Card(s)
NVIDIA 1070 and RTX 3070
Sound Card
Crystal Sound (onboard)
Monitor(s) Displays
single Samsung 30" 4K and 8" aux monitor
Screen Resolution
4K and something equally attrocious. I'll be working on this.
Hard Drives
A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W

Ports X, Y, and Z are reserved for USB access and removable drives.

Drive types consist of the following: Various mechanical hard drives bearing the brand names, Seagate, Toshiba, and Western Digital. Various NVMe drives bearing the brand names Kingston, Intel, Silicon Power, Crucial, Western Digital, and Team Group. Various SATA SSDs bearing various different brand names.

RAID arrays included:

LSI RAID 10 (WD Velociraptors) 1115.72 GB
LSI RAID 10 (WD SSDS) 463.80 GB

INTEL RAID 0 (KINGSTON HYPER X) System 447.14 GB
INTEL RAID 1 TOSHIBA ENTERPRIZE class Data 2794.52 GB
INTEL RAID 1 SEAGATE HYBRID 931.51 GB
PSU
SEVERAL. I prefer my Corsair Platinum HX1000i but I also like EVGA power supplies
Case
ThermalTake Level 10 GT (among others)
Cooling
Noctua is my favorite and I use it in my main. I also own various other coolers.
Keyboard
all kinds.
Mouse
all kinds
Internet Speed
360 mbps - 1 gbps (depending)
Browser
FIREFOX
Antivirus
KASPERSKY (no apologies)
Other Info
Gave Dell touch screen with Windows 11 to daughter and got me an OTVOC. Being a PC builder I own many desktop PCs as well. I am a father of five providing PCs, laptops, and tablets for all my family, most of which I have modified, rebuilt, or simply built from scratch. I do not own a cell phone, never have, never will.

Latest Support Threads

Back
Top Bottom