No... I'm not an expert on mysql... all my notebooks using mysql work
fine locally. My problem is when I try to run them on the cloud.
Here on my machine I didn't need to go through any initialization
process, I just installed mysql and it started working...

On Thu, Oct 15, 2020 at 7:19 PM Paul Hobson <[email protected]> wrote:
>
> I'm not sure. Last time I set MySQL to run on even a local machine, it was an 
> ordeal. Did you go through all the steps of starting the MySQL subprocess and 
> all that?
>
> On Thu, Oct 15, 2020 at 3:13 PM Felipe Augusto Pereira de Figueiredo 
> <[email protected]> wrote:
>>
>> Dear Paul,
>>
>> thanks for your reply. In fact, I installed mysql on tha instance of
>> binder, but it didn't work...
>> Could it be the password or user name?
>>
>> Thanks,
>>
>> Felipe
>>
>> On Thu, Oct 15, 2020 at 7:10 PM Paul Hobson <[email protected]> wrote:
>> >
>> > Hey Felipe,
>> >
>> > My guess is that the binder instance doesn't have MySQL installed.
>> > -Paul
>> >
>> > On Thu, Oct 15, 2020 at 10:06 AM Felipe Augusto Pereira de Figueiredo 
>> > <[email protected]> wrote:
>> >>
>> >> 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)"."
>> >>
>> >> 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.
>> >
>> > --
>> > 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/CADT3MECZM2Lay5Z03iGOYSTL9mNAmhTess1%2BGC0y-vWhsT2hXw%40mail.gmail.com.
>>
>> --
>> 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/CA%2Babmw%2BuzRCaDy5EPMr2rUy7eLRtwhwuM_deApVFKOuDxh9hCA%40mail.gmail.com.
>
> --
> 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/CADT3MEB%3DrL1kj4ZCw5jS8dE6WOiuyvsndqx-LEEfGPAw3spUVA%40mail.gmail.com.

-- 
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/CA%2BabmwLMoTibKNLNWgesA2%2Bb8Q7N0q20kZRRRkJ0BfQo-gERkA%40mail.gmail.com.

Reply via email to