Project

General

Profile

Actions

Bug #961

closed

Auto-installer db error access denied to root user, using password: NO

Added by Amber Herold about 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Immediate
Assignee:
Amber Herold
Category:
-
Target version:
Start date:
10/21/2010
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 2.1.0
Show in known bugs:
No
Workaround:

Description

========================
Installation Finish.
========================
[root@cb-demo36 Desktop]# Traceback (most recent call last):
  File "/usr/bin/start-leginon.py", line 9, in ?
    from leginon import start
  File "/usr/lib/python2.4/site-packages/leginon/start.py", line 13, in ?
    import leginon.gui.wx.Manager
  File "/usr/lib/python2.4/site-packages/leginon/gui/wx/Manager.py", line 20, in ?
    from leginon import manager
  File "/usr/lib/python2.4/site-packages/leginon/manager.py", line 19, in ?
    import launcher
  File "/usr/lib/python2.4/site-packages/leginon/launcher.py", line 14, in ?
    import noderegistry
  File "/usr/lib/python2.4/site-packages/leginon/noderegistry.py", line 33, in ?
    import leginon.allnodes
  File "/usr/lib/python2.4/site-packages/leginon/allnodes.py", line 154, in ?
    from clicktargettransformer import ClickTargetTransformer
  File "/usr/lib/python2.4/site-packages/leginon/clicktargettransformer.py", line 16, in ?
    import caltransformer
  File "/usr/lib/python2.4/site-packages/leginon/caltransformer.py", line 7, in ?
    dbdk = sinedon.getConnection('leginondata')
  File "/usr/lib/python2.4/site-packages/sinedon/connections.py", line 25, in getConnection
    connections[modulename] = {'config': dbconf, 'connection': DB(**dbconf)}
  File "/usr/lib/python2.4/site-packages/sinedon/dbdatakeeper.py", line 37, in __init__
    raise DatabaseError(e.args[-1])
sinedon.dbdatakeeper.DatabaseError: Access denied for user 'root'@'localhost' (using password: NO)

Files

Screenshot.png (297 KB) Screenshot.png Amber Herold, 10/21/2010 04:10 PM
installation.log (14.2 KB) installation.log Amber Herold, 10/21/2010 04:14 PM
Actions #1

Updated by Amber Herold about 14 years ago

Attached screenshot.

I'm looking into it now but wanted to get this much recorded before moving on.

Actions #2

Updated by Amber Herold about 14 years ago

Actions #3

Updated by Eric Hou about 14 years ago

  • Assignee changed from Eric Hou to Amber Herold

That is because you setup the password for mysql database.
Autoinstaller does not know what is the database password, therefore it can not setup the database tables and default values.

Thanks.

Eric

Actions #4

Updated by Amber Herold about 14 years ago

  • Status changed from Assigned to Closed

Yes, I remembered after leaving that I had set up the DB last week on that computer! Sorry about that!

Actions

Also available in: Atom PDF