Error While Creating Site

Hi,
I have Ubunto 14.4
I ran everything and working fine.
But the moment I run this command “bench new-site site1.local”
It asks me for MySQL root password
I type erpnext and press enter
System gives me so many errors and the last error I can see is
mysql_exception.OperationalError: (1045, “Access denied for user ‘root’@‘localhist’ (using password: YES)”)

Hi,
As per error log, you are entering wrong mysql root password. Please enter root password which you have set at the time of mariadb installation.

Regards,
Priya Shitole
New Indictrans Technology Pvt.Ltd.

I have not set any password while installation. I have just followed the steps given below:

wget https://raw.githubusercontent.com/frappe/bench/master/install_scripts/setup_frappe.sh
sudo bash setup_frappe.sh

cd ~
bench init frappe-bench
cd frappe-bench
bench get-app erpnext GitHub - frappe/erpnext: Free and Open Source Enterprise Resource Planning (ERP) # Add ERPNext to your bench apps
bench get-app shopping_cart GitHub - frappe/shopping_cart: Online Shopping Cart integrated with ERPNext # Add Shopping cart to your bench apps
bench new-site site1.local # Create a new site
bench frappe --install_app erpnext site1.local # Install ERPNext for the site
bench frappe --install_app shopping_cart site1.local # Install Shopping cart for the site

Hi,
Please refer following link to reset your root password.
http://www.cyberciti.biz/tips/recover-mysql-root-password.html

After resetting the password you can try to create site. Use this new root password while creating site.

Regards,
Priya Shitole
New Indictrans Technology Pvt.Ltd.

Hi Priya,
I appreciate if you can help me.
I found that everything is installed on Laptop including ERPNext.
Now actually I am not able to run the ERPNext.
I tried putting http://localhost:8080
it gives me an error Unable to connect

can you tell me the workaround for that, so that I can check it and resolve the issue

Please provide your console log or terminal log .

Regards,
Priya Shitole
New Indictrans Technology Pvt.Ltd.

shouldn’t that be localhost?