Forums » Software Installation »
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,
'localhost' (using password: NO)"
then start leginon again . It show error:
leginon.project.NotConnectedError: (1045, "Access denied for user 'root'
Why and how to fix it
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