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 ‘127.0.0.1’ ([Errno 61] Connection refused)”)Site creation failed
Please help me out.
Hey , it looks like the MariaDB server is not running, did you follow the MariaDB installation steps completely?
2 Likes
It might be you did not set a root password.
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.
can you help me in guiding with the third option.