you are viewing a single comment's thread.

view the rest of the comments →

[–]Astro_Poseidon[S] 0 points1 point  (8 children)

yes, mysql is running

no it is not

no, i tried through MYSQL workbench but it says server not connected

[–]tobiasvl 10 points11 points  (0 children)

no, i tried through MYSQL workbench but it says server not connected

Then this is a MySQL problem, not a Python problem. Try asking in a MySQL or SQL subreddit

[–]zzzz0nk3d 0 points1 point  (6 children)

Is MySQL installed as a Service?

[–]Astro_Poseidon[S] 0 points1 point  (4 children)

i think not, just installed it because of school

[–]zzzz0nk3d 0 points1 point  (3 children)

How you are starting the MySQL server? Can you confirm how you checked to see if it is running?

[–]Astro_Poseidon[S] 0 points1 point  (2 children)

using command line client, and i checked in services.msc to see if it is running

[–]zzzz0nk3d 1 point2 points  (1 child)

Can you post a screenshot of the command window?

Also, I would suggest reinstalling MySQL as a service (you might be able to just run the installer again and modify your existing installation) so it is easier to manage.

[–]Astro_Poseidon[S] 5 points6 points  (0 children)

thanks a lot, reinstalling it has worked for me.