Andrew Colin Kissa <andrew@...> writes:

> 
> 
> On 01 Aug 2011, at 2:15 PM, Efi wrote:
> 
> > File "/usr/lib/python2.4/site-packages/MySQLdb/connections.py", line 170, 
in 
> > __init__    super(Connection, self).__init__(*args, **kwargs2)
> > _mysql_exceptions.OperationalError: (1045, "Access denied for 
> > user 'root'@'localhost' (using password: NO)")
> > 
> > any ideas what to check before i reinstall the entire machine?
> > Thanks,
> 
> That error message indicates that you are trying to talk to mysql using
> the user root without a password, which means you have not set the
> USER and PASSWORD database options in your settings.py, it could
> also mean you have multiple installs of baruwa and the wrong settings
> are being read.
> 
> How are you installing ? From source or from packages ? 
> 
> What is the output of
> 
> find / -name settings.py
> 
> --
> Baruwa - www.baruwa.org
> 
> _______________________________________________
> Baruwa mailing list
> Baruwa@...
> http://lists.baruwa.org/mailman/listinfo/baruwa
> Keep Baruwa FREE - http://pledgie.com/campaigns/12056
> 
> 


I installed with this guide: 
http://baruwa.org/docs/install_centos.html#install-epel

the user configured in the settings.py file is baruwa and not root.

and the output is:
[root@mailscanner ~]# find / -name settings.py
/etc/baruwa/settings.py
/usr/lib/python2.4/site-packages/baruwa/settings.py
/usr/lib/python2.4/site-packages/orca/settings.py
/usr/lib/python2.4/site-packages/baruwa-1.1.0-py2.4.egg/baruwa/settings.py
/usr/lib/python2.4/site-packages/django/conf/project_template/settings.py
/usr/lib/python2.6/site-packages/baruwa-1.1.0-py2.6.egg.old/baruwa/settings.py
/usr/share/doc/python-celery-2.2.7/examples/httpexample/settings.py
/usr/share/doc/python-celery-2.2.7/examples/celery_http_gateway/settings.py
/usr/share/doc/django-celery-2.2.4/examples/demoproject/settings.py
/root/baruwa-1.1.0/src/baruwa/settings.py
/root/baruwa-1.1.0/build/lib/baruwa/settings.py
/root/celery-2.2.7/examples/httpexample/settings.py
/root/celery-2.2.7/examples/celery_http_gateway/settings.py
/root/baruwa-1.1.0-old/src/baruwa/settings.py


_______________________________________________
Baruwa mailing list
[email protected]
http://lists.baruwa.org/mailman/listinfo/baruwa
Keep Baruwa FREE - http://pledgie.com/campaigns/12056

Reply via email to