Hi all,
I’m having some issues with Rhino 8 and Odbc.
With Rhino7 I had a script to connect to my MariaDB server to get some data, and it worked fine.
With Rhino8 the same file has issues, anytime I try to load something from System.Data.Odbc I get the error:
Exception Occured
Message: Cannot import name OdbcConnection
The code I’m using is simple:
import clr
import System
clr.AddReference("System.Data")
from System.Data.Odbc import OdbcConnection
I tried importing something else and it works for other libaries but anything from Odbc returns an exception, this is the same message i get for the modified code:
Exception Occured
Message: Cannot import name OdbcDataAdapter
import clr
import System
clr.AddReference("System.Data")
from System.Drawing import Color
from System.Data import DataSet
from System.Data.Odbc import OdbcDataAdapter