This is the raw / beta version in development mode and is full of buggy nets and I don’t recommend it unless for nerdy developers who knows there away around the system…
If your not then use the easy install script :
You can use it in develop mode which is less buggy the the beta version…
For ERPNext VM mysql root password is frappe. If you install ERPNext via easy install script then you will find admin and mysql root password in frappe_passwords.txt
then tried bench new-site library.test and it was working, but a different error
ERROR 2002 (HY000): Can’t connect to MySQL server on ‘127.0.0.1’ (60)
Table ‘tabDefaultValue’ missing in the restored site. Database not installed correctly, this can due to lack of permission, or that the database name exists. Check your mysql root password, validity of the backup file or use --force to reinstall
Then i tried again bench new-site library.test
and got another error
in setup_database
raise Exception(f"Database {db_name} already exists")
Exception: Database _e12f97fbea49690f already exists
I did not know why this error comes.
In the end, I gave up trying to install Frappe on my own on Mac.
Your MariaDB root password is not set by Frappe, and Frappe has no access to it.
If you installed via homebrew, I believe that there is no password set by default. Depending on your version, you might be able to set it using mysql_secure_installation. If that doesn’t work, you’ll have to investigate how to set/reset mariadb’s root password.
Thanks for the response. As of now, I have uninstalled the entire frappe setup, as I am trying it out through Docker. I will consider this utility if I came back to manual installation again.
Finally I got MariaDB installation working on MacOS Big Sur - thank God!
after a lot of time reading through many articles and not succeeding, I decided to read the code for the brew Formula for mariadb to see what it does - It sets an empty password. But then mysql_secure_installation does not accept when I press enter without entering any password. So, I changed the Ruby code to set a password and then reinstalled mariadb and restarted the services. Then I ran mysql secure installation and the password I set in the Ruby code worked. If anyone faces the same issue in Mac, I can offer detailed instructions as I have taken screenshots of the steps and issues faced in my notes app.
Please , could you provide the detailed instructions for MacOS Silicon chip. I am having the same issue , no where to get the default password of MySql. ‘Blank’ does not work. Please , provide screenshots as well.
If you encounter this issue may be you are running frappe by cloning the frappe-docker branch in that case try the password in the DB_PASSWORD inside example.env that is found on the frappe-docker root path.