Yea, I made sure I did that, any how, I logged back in 2 days after
and it worked fine. I absolutely did nothing. Mysterious, but it
worked.

Thanks!

On May 20, 4:04 pm, Christian Hammond <chip...@chipx86.com> wrote:
> It sounds like that user just doesn't have access to the database. This is a
> MySQL issue. You probably want something like:
>
> GRANT ALL ON reviewboard.* TO reviewbo...@localhost;
>
> Assuming you still have the reviewbo...@localhost account defined in the DB.
> If you fully wiped the entire MySQL DB (not use the reviewboard one), then:
>
> GRANT ALL ON reviewboard.* TO reviewbo...@localhost IDENTIFIED BY
> 'somepassword';
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.review-board.org
> VMware, Inc. -http://www.vmware.com
>
> On Wed, May 20, 2009 at 7:10 AM, Mohamed Mansour
> <m0.interact...@gmail.com>wrote:
>
>
>
> > I was trying to upgrade from beta1 but it didn't work, so I did
> > easy_install and upgraded and it failed as well. So I decided to do a
> > fresh install.
>
> > I got the following error when i do rb-site install /var/www/
> > reviewboard:
>
> > [not...@1242826621.423448] mcm_server_connect():2297: Software caused
> > connection abort
> > [not...@1242826621.423571] mcm_server_connect():2297: Software caused
> > connection abort
> > [not...@1242826621.423604] mcm_server_connect_next_avail():2328:
> > Software caused connection abort
> > [w...@1242826621.423632] mcm_server_connect_next_avail():2333
> > [not...@1242826621.424320] mcm_server_connect_next_avail():2323
>
> > It created all the tables in the database so I know my connection is
> > working, but it gives me:
> > Access denied for user 'reviewboard'@'localhost' (using password:
> > YES)"
>
> > I changed my password from old installation to new one, I made sure I
> > deleted all the reviewboard .egg files in site-packages. What should I
> > do?
>
> > The callstack is:
>
> > Traceback (most recent call last):
>
> >  File "/usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/
> > django/core/handlers/base.py", line 86, in get_response
> >    response = callback(request, *callback_args, **callback_kwargs)
>
> >  File "/usr/lib/python2.4/site-packages/Djblets-0.5beta1-py2.4.egg/
> > djblets/auth/util.py", line 44, in _checklogin
> >    if request.user.is_authenticated():
>
> >  File "/usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/
> > django/contrib/auth/middleware.py", line 5, in __get__
> >    request._cached_user = get_user(request)
>
> >  File "/usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/
> > django/contrib/auth/__init__.py", line 83, in get_user
> >    user_id = request.session[SESSION_KEY]
>
> >  File "/usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/
> > django/contrib/sessions/backends/base.py", line 46, in __getitem__
> >    return self._session[key]
>
> >  File "/usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/
> > django/contrib/sessions/backends/base.py", line 172, in _get_session
> >    self._session_cache = self.load()
>
> >  File "/usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/
> > django/contrib/sessions/backends/db.py", line 16, in load
> >    expire_date__gt=datetime.datetime.now()
>
> >  File "/usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/
> > django/db/models/manager.py", line 93, in get
> >    return self.get_query_set().get(*args, **kwargs)
>
> >  File "/usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/
> > django/db/models/query.py", line 304, in get
> >    num = len(clone)
>
> >  File "/usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/
> > django/db/models/query.py", line 160, in __len__
> >    self._result_cache = list(self.iterator())
>
> >  File "/usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/
> > django/db/models/query.py", line 275, in iterator
> >    for row in self.query.results_iter():
>
> >  File "/usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/
> > django/db/models/sql/query.py", line 206, in results_iter
> >    for rows in self.execute_sql(MULTI):
>
> >  File "/usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/
> > django/db/models/sql/query.py", line 1733, in execute_sql
> >    cursor = self.connection.cursor()
>
> >  File "/usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/
> > django/db/backends/__init__.py", line 56, in cursor
> >    cursor = self._cursor(settings)
>
> >  File "/usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/
> > django/db/backends/mysql/base.py", line 262, in _cursor
> >    self.connection = Database.connect(**kwargs)
>
> >  File "/usr/lib/python2.4/site-packages/MySQL_python-1.2.2-py2.4-
> > linux-i686.egg/MySQLdb/__init__.py", line 74, in Connect
>
> >  File "/usr/lib/python2.4/site-packages/MySQL_python-1.2.2-py2.4-
> > linux-i686.egg/MySQLdb/connections.py", line 170, in __init__
>
> > OperationalError: (1045, "Access denied for user
> > 'reviewboard'@'localhost' (using password: YES)")
>
> > <ModPythonRequest
> > path:/dashboard/,
> > GET:<QueryDict: {}>,
> > POST:<QueryDict: {}>,
> > COOKIES:{'rbsessionid': '7bfd569dfe7f13ab133bf06714b492c9'},
> > META:{'AUTH_TYPE': None,
> >  'CONTENT_LENGTH': 0L,
> >  'CONTENT_TYPE': None,
> >  'GATEWAY_INTERFACE': 'CGI/1.1',
> >  'HTTP_ACCEPT': 'application/xml,application/xhtml+xml,text/
> > html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
> >  'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',
> >  'HTTP_ACCEPT_ENCODING': 'gzip,deflate,bzip2,sdch',
> >  'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8',
> >  'HTTP_CACHE_CONTROL': 'max-age=0',
> >  'HTTP_CONNECTION': 'keep-alive',
> >  'HTTP_COOKIE': 'rbsessionid=7bfd569dfe7f13ab133bf06714b492c9',
> >  'HTTP_HOST': 'reviews',
> >  'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US)
> > AppleWebKit/530.9 (KHTML, like Gecko) Chrome/2.0.180.0 Safari/530.9',
> >  'PATH_INFO': u'/dashboard/',
> >  'PATH_TRANSLATED': None,
> >  'QUERY_STRING': None,
> >  'REMOTE_ADDR': '172.31.2.26',
> >  'REMOTE_HOST': None,
> >  'REMOTE_IDENT': None,
> >  'REMOTE_USER': None,
> >  'REQUEST_METHOD': 'GET',
> >  'SCRIPT_NAME': '',
> >  'SERVER_NAME': 'reviews',
> >  'SERVER_PORT': 0,
> >  'SERVER_PROTOCOL': 'HTTP/1.1',
> >  'SERVER_SOFTWARE': 'mod_python'}>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to