Hello everyone, I’m creating a python script for Rhino, a form with data that will then insert them into a mysql db, but I can’t install the mysql-connect or pymysql module and I don’t know if it’s possible to install modules or if there is already a dedicated module in rhino.
Depending on your requirements, you might implement this native module:
import sqlite3
thanks for the reply but i need to connect to a mysql db
Since Python in Rhino is based on IronPython you could try using ODBC database adapter to connect to MySQL. .NET Framework Data Providers - ADO.NET | Microsoft Learn , .NET Framework Data Provider for ODBC Connection Strings - ConnectionStrings.com .