Bench new site creation failed

Hello , I am a Macbook Air M1 user, and during bench’s new site creation after creating the bench , i am getting error in site creation in terminal of mac , following is the error shown :

pymysql.err.OperationalError: (2003, “Can’t connect to MySQL server on ‘’ ([Errno 61] Connection refused)”)Site creation failed

Please help me out.

Hey :wave:, it looks like the MariaDB server is not running, did you follow the MariaDB installation steps completely?


It might be you did not set a root password.

Some potential causes:

  • Mariadb is not running
  • The root password is wrong
  • Mariadb was installed as a different user and the file permissions were not updated accordingly
  1. Make sure MySQL not installed on your Mac, otherwise uninstalled it.
  2. Make sure MariaDB is running
  3. MariaDB root password is correct

If everything is fine like your Mariadb user and password etc. you need to try this command to start your Mariadb server.

sudo /etc/init.d/mariadb start

This command will start your MariaDB server. After that, you can create your new site and perform other database-related tasks.
I hope this will work for you.

yes i already did that

can you help me in guiding with the third option.