Open simon-paksam opened 1 year ago
I cannot get connectorx to work on Colab. The following code sections execute fine locally in Jupyter Lab, but produce errors when run in Colab.
I thought this feedback might be helpful. Code examples are below.
!pip install connectorx
import connectorx as cx import pandas as pd
con = "mssql://username:password@server:1433/database"; query = "SELECT * FROM table_name" df = cx.read_sql(con, query) df
RuntimeError Traceback (most recent call last)
It seems like the error is due to the database connection timeout. Can you make sure you can access your database through colab?
I cannot get connectorx to work on Colab. The following code sections execute fine locally in Jupyter Lab, but produce errors when run in Colab.
I thought this feedback might be helpful. Code examples are below.
==================================== USING CONNECTORX ON ITS OWN
!pip install connectorx
import connectorx as cx import pandas as pd
con = "mssql://username:password@server:1433/database"; query = "SELECT * FROM table_name" df = cx.read_sql(con, query) df
RuntimeError Traceback (most recent call last)