On Mon, 2010-10-04 at 10:53 +0530, madhuri wrote:
> Hi All,
> 
> I am facing the Access denied for user while running the babysitter.
> Please let me know how to get rid of this issue.

You have to verify whether the password you provided in the file
global_config.ini matches the password you provided while creating the
database. See session:

http://www.linux-kvm.org/page/KVM-Autotest/Server_Install#Set_up_MySQL

and

http://www.linux-kvm.org/page/KVM-Autotest/Server_Install#Update_Autotest_config_files

I have updated the documentation to make this information more clear.

Let me know if it works,

Lucas

> Log:
> ===
> /usr/local2/autotest/scheduler/monitor_db_babysitter
> 09:43:37 INFO | initializing
> 09:43:37 INFO | Killing monitor_db
> 09:43:37 INFO | STARTING monitor_db with log
> file /usr/local2/autotest/logs/scheduler.log.2010-10-03-09.43.37
> Traceback (most recent call last):
>   File "/usr/local2/autotest/database/database_connection.py", line 208,
> in _connect_backend
>     db_name=self.db_name)
>   File "/usr/local2/autotest/database/database_connection.py", line 112,
> in connect
>     self._cursor = self._connection.cursor()
>   File
> "/usr/local2/autotest/site-packages/django/db/backends/__init__.py",
> line 81, in cursor
>     cursor = self._cursor()
>   File
> "/usr/local2/autotest/site-packages/django/db/backends/mysql/base.py",
> line 281, in _cursor
>     self.connection = Database.connect(**kwargs)
>   File "/usr/lib64/python2.6/site-packages/MySQLdb/__init__.py", line
> 81, in Connect
>     return Connection(*args, **kwargs)
>   File "/usr/lib64/python2.6/site-packages/MySQLdb/connections.py", line
> 187, in __init__
>     super(Connection, self).__init__(*args, **kwargs2)
> OperationalError: (1045, "Access denied for user
> 'autotest'@'localhost' (using password: YES)")
> 
> Thanks,
> Madhuri
> 
> _______________________________________________
> Autotest mailing list
> [email protected]
> http://test.kernel.org/cgi-bin/mailman/listinfo/autotest


_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to