Can't connect to MySQL server on 'localhost' (10061)

Hello! I am a new beginner in the database, would like to explore this new paradigm, my pargunta is as follows:

  • How do I create a connection to the database when I create a database and will make the connection to error “Can’t connect to MySQL server on ‘localhost’ (10061)”. How do I proceed.