Project

General

Profile

start-leginon.py after new install leginon3.1 it show:leginon.project.NotConnectedError: (1045, "Access denied for user 'root'@'localhost' (using password: NO)"

Added by Shunming Fang almost 10 years ago

Hello, Anchi,
I completely install centos 6.6 and auto install leginon 3.1 using root. When they finished, everything is the fine. Then I do additional database configuration mainly add usr_object LOCALHOST AND remote host,
then start leginon again . It show error:
leginon.project.NotConnectedError: (1045, "Access denied for user 'root'
'localhost' (using password: NO)"
Why and how to fix it


Replies (1)

RE: start-leginon.py after new install leginon3.1 it show:leginon.project.NotConnectedError: (1045, "Access denied for user 'root'@'localhost' (using password: NO)" - Added by Anchi Cheng almost 10 years ago

Try to connect to mysql as either root or usr_object through mysql command line to see if you have forgot something.

mysql -h localhost -u root leginondb

Possible reasons:

1. You have now a password for root user (this is mysql root, not linux one) that wasn't there during autoinstallation.
2. Now that you have usr_object set up, you should change sinedon.cfg to reflect that. See Configure_sinedoncfg

    (1-1/1)