how to connect mysql database in jupyter notebook
snippet in sql

how to connect mysql database in jupyter notebook

user264

# %%
%load_ext sql

# %%
%sql mysql+mysqldb://<user>:<password>@localhost/<dataBase>

# %%
%%sql

SELECT *
FROM <table>;