I
I
Ilya Vasiliev2020-08-02 10:45:50
MySQL
Ilya Vasiliev, 2020-08-02 10:45:50

How to set up a connection?

I'm trying to create a sql database through MySql workbench. I create a base for its subsequent connection to the python, asks for a password - I prescribe root. Gives an error message.

Your connection attempt failed for user root to the MySql server at 127.0.0.1

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
PavelMos, 2020-08-02
@PavelMos

If there is no password in the database, why enter the root password? Or in the database then register the root password and pass it through the script.

D
Dimonchik, 2020-08-02
@dimonchik2013

it's chibe

I
Ilya Vasiliev, 2020-08-02
@Lovkiy34

5f26ba8d5b2c4252844689.jpeg
What is the password in this window during installation?
root - does not pass

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question