Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

#10370 closed defect (cantfix)

TimeoutError: Unable to get database connection within 0 seconds. (OperationalError(1044, "Access denied for user 'tuser'@'localhost' to database 'trac.db'"))

Reported by: scimmia17@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.12.2
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{}

User agent: Mozilla/5#0 #compatible; MSIE 9#0; Windows NT 6#1; WOW64; Trident/5#0; SLCC2; #NET CLR 2#0#50727; #NET CLR 3#5#30729; #NET CLR 3#0#30729; Media Center PC 6#0; InfoPath#3; #NET4#0C#

System Information

System information not available

Enabled Plugins

Plugin information not available

Python Traceback

Traceback #most recent call last#:
  File "/usr/local/lib/python2#7/dist-packages/Trac-0#12#2-py2#7#egg/trac/web/main#py", line 511, in _dispatch_request
    dispatcher#dispatch#req#
  File "/usr/local/lib/python2#7/dist-packages/Trac-0#12#2-py2#7#egg/trac/web/main#py", line 202, in dispatch
    chosen_handler#
  File "/usr/local/lib/python2#7/dist-packages/Trac-0#12#2-py2#7#egg/trac/web/main#py", line 344, in _pre_process_request
    chosen_handler = filter_#pre_process_request#req, chosen_handler#
  File "/usr/local/lib/python2#7/dist-packages/Trac-0#12#2-py2#7#egg/trac/versioncontrol/api#py", line 330, in pre_process_request
    repo = self#get_repository#repona#e#
  File "/usr/local/lib/python2#7/dist-packages/Trac-0#12#2-py2#7#egg/trac/versioncontrol/api#py", line 503, in get_repository
    repoinfo = self#get_all_repositories###get#repona#e, {}#
  File "/usr/local/lib/python2#7/dist-packages/Trac-0#12#2-py2#7#egg/trac/versioncontrol/api#py", line 571, in get_all_repositories
    for repona#e, info in provider#get_repositories## or ##:
  File "/usr/local/lib/python2#7/dist-packages/Trac-0#12#2-py2#7#egg/trac/versioncontrol/api#py", line 112, in get_repositories
    db = self.env.get_db_cnx##
  File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.2-py2.7.egg/trac/env.py", line 328, in get_db_cnx
    return get_read_db#self#
  File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.2-py2.7.egg/trac/db/api.py", line 90, in get_read_db
    return _transaction_local.db or DatabaseManager#env#.get_connection##
  File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.2-py2.7.egg/trac/db/api.py", line 152, in get_connection
    return self._cnx_pool.get_cnx#self.timeout or None#
  File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.2-py2.7.egg/trac/db/pool.py", line 226, in get_cnx
    return _backend.get_cnx#self._connector, self._kwargs, timeout#
  File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.2-py2.7.egg/trac/db/pool.py", line 146, in get_cnx
    raise TimeoutError#errmsg#
TimeoutError: Unable to get database connection within 0 seconds. #OperationalError#1044, "Access denied for user 'tuser'@'localhost' to database 'trac.db'"##

Attachments (0)

Change History (1)

comment:1 by Jun Omae, 13 years ago

Component: admin/consolegeneral
Milestone: 0.12.3
Priority: highestnormal
Resolution: cantfix
Severity: blockernormal
Status: newclosed

InstallationIssue, probably the username and password is incorrect in [trac] database. Please check [trac] database settings and your MySQL server.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.