twisted - 1045 access denied for user 'root'@'localhost'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
poker-network (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I have came across of following error appeared in poker-network-
Traceback (most recent call last):
2012-06-16 09:04:34+0100 [-] File "/usr/bin/twistd", line 14, in <module>
2012-06-16 09:04:34+0100 [-] run()
2012-06-16 09:04:34+0100 [-] File "/usr/lib/
2012-06-16 09:04:34+0100 [-] app.run(runApp, ServerOptions)
2012-06-16 09:04:34+0100 [-] File "/usr/lib/
2012-06-16 09:04:34+0100 [-] runApp(config)
2012-06-16 09:04:34+0100 [-] File "/usr/lib/
2012-06-16 09:04:34+0100 [-] _SomeApplicatio
2012-06-16 09:04:34+0100 [-] File "/usr/lib/
2012-06-16 09:04:34+0100 [-] self.postApplic
2012-06-16 09:04:34+0100 [-] File "/usr/lib/
2012-06-16 09:04:34+0100 [-] self.startAppli
2012-06-16 09:04:34+0100 [-] File "/usr/lib/
2012-06-16 09:04:34+0100 [-] app.startApplic
2012-06-16 09:04:34+0100 [-] File "/usr/lib/
2012-06-16 09:04:34+0100 [-] service.
2012-06-16 09:04:34+0100 [-] File "/usr/lib/
2012-06-16 09:04:34+0100 [-] service.
2012-06-16 09:04:34+0100 [-] File "/usr/lib/
2012-06-16 09:04:34+0100 [-] service.
2012-06-16 09:04:34+0100 [-] File "/usr/lib/
2012-06-16 09:04:34+0100 [-] self.db = PokerDatabase(
2012-06-16 09:04:34+0100 [-] File "/usr/lib/
2012-06-16 09:04:34+0100 [-] passwd = self.parameters
2012-06-16 09:04:34+0100 [-] File "/usr/lib/
2012-06-16 09:04:34+0100 [-] return Connection(*args, **kwargs)
2012-06-16 09:04:34+0100 [-] File "/usr/lib/
2012-06-16 09:04:34+0100 [-] super(Connection, self)._
2012-06-16 09:04:34+0100 [-] _mysql_
lsb_release -rd
Description: Ubuntu 12.04 LTS
Release: 12.04
apt-cache policy python-
python-
Installed: 1.7.7-3.2ubuntu2
Candidate: 1.7.7-3.2ubuntu2
Version table:
*** 1.7.7-3.2ubuntu2 0
500 http://
100 /var/lib/
expected: properly installed and work
happened: Access denied for user 'root'@'localhost' (using password: NO)
(in my case it should be YES and somewhere defined proper conncetion to database.)
(probably causing twistd crash)
regards,
M.
Resolved by adding MySQL root password between the "" at line 121 of /etc/poker- network/ poker.server. xml