Dear All, 

I'm trying toexecute the following piece of code on a Jupyter notebook 
running on Binder, however, I always get an error ""DatabaseError: 2003 
(HY000): Can't connect to MySQL server on 'localhost' (99)"."
<https://stackoverflow.com/posts/64345691/timeline>

Could someone tell me why is this code failling?

This is the code:
import mysql.connector as mysql 
db = mysql.connect( host = 'localhost', user = "root", passwd='root' )

What could be the problem? What could I be missing? Is there any necessary 
configuration before opening the DB?


Thanks and Kind Regards.


Felipe Augusto

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/aa32957e-214e-47bb-abef-80f1178e54e9n%40googlegroups.com.

Reply via email to