question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bench new-site not work when input MYSQL root password

See original GitHub issue

Hello. I am a student interested in studying with erpnext. https://www.howtoforge.com/how-to-install-erpnext-on-ubuntu-1804/ I was installing erpnext using frappe as mentioned above. But I have some problems when I write

bench new-site node1.example.com
MySQL root password: ~~

is not working. This is because the latest version of mariadb can only log in as sudo as root. I tried for 2 hours but bench new-site command was not successful. No matter how you set the root password, you will not be logged in without sudo.

Can you tell me how to solve this problem?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
krnkriscommented, Dec 21, 2019

Take look on this , it just works if you have user with sudo privileges:

https://discuss.erpnext.com/t/error-on-erpnext-ubuntu-18-04-lts-installation/54961/31?u=krnkris

0reactions
priyanka-karncommented, May 16, 2021

Sir, my Mariadb version is 10.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bench new-site site1.local get error - installation_problem
I am getting error with this step l@localhost frappe-bench]$ bench new-site site1.local MySQL root password: ...
Read more >
bench new-site - Frappe Framework
Create a new site with a MariaDB non-root user with database creation priveledges. bench new-site {site} --db-root-username {user} --db-root-password {pass}.
Read more >
How to set, change, and recover your MySQL root password
This article shows you how to set, change and recover secure passwords for your MySQL root account, so you'll never be at a...
Read more >
How to set root user password for mysql while installing ...
I want to know how to set password for MySql root user. I am installing erpnext in my ubuntu 18.04 LTS. while running...
Read more >
Chapter 4 Resetting the Root Password: Windows Systems
On Windows, use the following procedure to reset the password for the MySQL 'root'@'localhost' account. To change the password for a root account...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found