Hi Mano,

You need to make sure MySQL is configured properly and that you've provided
the correct host information, database name, login, and password when
setting up the Review Board site (or in the site's conf/settings_local.py
file).

Christian

-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

On Fri, Aug 19, 2016 at 4:51 AM, Manoranjan Panigrahi <
mana.panigr...@gmail.com> wrote:

> Hi All,
>
> I have installed Reviewboard2.5, MySql5.7 on RHEL6.4.
>
> While launching the site I am getting below error:
>
> [Fri Aug 19 11:43:45 2016] [error]   DeprecationWarning
> [Fri Aug 19 11:43:45 2016] [error] ERROR:root:Could not load siteconfig:
> (2003, "Can't connect to MySQL server on '127.0.0.1' (13)")
> [Fri Aug 19 11:43:46 2016] [error] CRITICAL:root:Unable to load
> SiteConfiguration: (2003, "Can't connect to MySQL server on '127.0.0.1'
> (13)")
> [Fri Aug 19 11:43:46 2016] [error] Traceback (most recent call last):
> [Fri Aug 19 11:43:46 2016] [error]   File "/usr/lib/python2.6/site-
> packages/ReviewBoard-2.5.6.1-py2.6.egg/reviewboard/admin/middleware.py",
> line 44, in process_request
> [Fri Aug 19 11:43:46 2016] [error]     siteconfig =
> SiteConfiguration.objects.get_current()
> [Fri Aug 19 11:43:46 2016] [error]   File "/usr/lib/python2.6/site-
> packages/Djblets-0.9.3-py2.6.egg/djblets/siteconfig/managers.py", line
> 50, in get_current
> [Fri Aug 19 11:43:46 2016] [error]     site = Site.objects.get_current()
> [Fri Aug 19 11:43:46 2016] [error]   File "/usr/lib/python2.6/site-
> packages/Django-1.6.11-py2.6.egg/django/contrib/sites/models.py", line
> 47, in get_current
> [Fri Aug 19 11:43:46 2016] [error]     current_site = self.get(pk=sid)
> [Fri Aug 19 11:43:46 2016] [error]   File "/usr/lib/python2.6/site-
> packages/Django-1.6.11-py2.6.egg/django/db/models/manager.py", line 151,
> in get
> [Fri Aug 19 11:43:46 2016] [error]     return
> self.get_queryset().get(*args, **kwargs)
> [Fri Aug 19 11:43:46 2016] [error]   File "/usr/lib/python2.6/site-
> packages/Django-1.6.11-py2.6.egg/django/db/models/query.py", line 304, in
> get
> [Fri Aug 19 11:43:46 2016] [error]     num = len(clone)
> [Fri Aug 19 11:43:46 2016] [error]   File "/usr/lib/python2.6/site-
> packages/Django-1.6.11-py2.6.egg/django/db/models/query.py", line 77, in
> __len__
> [Fri Aug 19 11:43:46 2016] [error]     self._fetch_all()
> [Fri Aug 19 11:43:46 2016] [error]   File "/usr/lib/python2.6/site-
> packages/Django-1.6.11-py2.6.egg/django/db/models/query.py", line 857, in
> _fetch_all
> [Fri Aug 19 11:43:46 2016] [error]     self._result_cache =
> list(self.iterator())
> [Fri Aug 19 11:43:46 2016] [error]   File "/usr/lib/python2.6/site-
> packages/Django-1.6.11-py2.6.egg/django/db/models/query.py", line 220, in
> iterator
> [Fri Aug 19 11:43:46 2016] [error]     for row in compiler.results_iter():
> [Fri Aug 19 11:43:46 2016] [error]   File "/usr/lib/python2.6/site-
> packages/Django-1.6.11-py2.6.egg/django/db/models/sql/compiler.py", line
> 713, in results_iter
> [Fri Aug 19 11:43:46 2016] [error]     for rows in self.execute_sql(MULTI):
> [Fri Aug 19 11:43:46 2016] [error]   File "/usr/lib/python2.6/site-
> packages/Django-1.6.11-py2.6.egg/django/db/models/sql/compiler.py", line
> 785, in execute_sql
> [Fri Aug 19 11:43:46 2016] [error]     cursor = self.connection.cursor()
> [Fri Aug 19 11:43:46 2016] [error]   File "/usr/lib/python2.6/site-
> packages/Django-1.6.11-py2.6.egg/django/db/backends/__init__.py", line
> 162, in cursor
> [Fri Aug 19 11:43:46 2016] [error]     cursor = 
> util.CursorWrapper(self._cursor(),
> self)
> [Fri Aug 19 11:43:46 2016] [error]   File "/usr/lib/python2.6/site-
> packages/Django-1.6.11-py2.6.egg/django/db/backends/__init__.py", line
> 132, in _cursor
> [Fri Aug 19 11:43:46 2016] [error]     self.ensure_connection()
> [Fri Aug 19 11:43:46 2016] [error]   File "/usr/lib/python2.6/site-
> packages/Django-1.6.11-py2.6.egg/django/db/backends/__init__.py", line
> 127, in ensure_connection
> [Fri Aug 19 11:43:46 2016] [error]     self.connect()
> [Fri Aug 19 11:43:46 2016] [error]   File "/usr/lib/python2.6/site-
> packages/Django-1.6.11-py2.6.egg/django/db/utils.py", line 99, in __exit__
> [Fri Aug 19 11:43:46 2016] [error]     six.reraise(dj_exc_type,
> dj_exc_value, traceback)
> [Fri Aug 19 11:43:46 2016] [error]   File "/usr/lib/python2.6/site-
> packages/Django-1.6.11-py2.6.egg/django/db/backends/__init__.py", line
> 127, in ensure_connection
> [Fri Aug 19 11:43:46 2016] [error]     self.connect()
> [Fri Aug 19 11:43:46 2016] [error]   File "/usr/lib/python2.6/site-
> packages/Django-1.6.11-py2.6.egg/django/db/backends/__init__.py", line
> 115, in connect
> [Fri Aug 19 11:43:46 2016] [error]     self.connection =
> self.get_new_connection(conn_params)
> [Fri Aug 19 11:43:46 2016] [error]   File "/usr/lib/python2.6/site-
> packages/Django-1.6.11-py2.6.egg/django/db/backends/mysql/base.py", line
> 435, in get_new_connection
> [Fri Aug 19 11:43:46 2016] [error]     conn = Database.connect(**conn_
> params)
> [Fri Aug 19 11:43:46 2016] [error]   File 
> "/usr/lib64/python2.6/site-packages/MySQLdb/__init__.py",
> line 81, in Connect
> [Fri Aug 19 11:43:46 2016] [error]     return Connection(*args, **kwargs)
> [Fri Aug 19 11:43:46 2016] [error]   File "/usr/lib64/python2.6/site-
> packages/MySQLdb/connections.py", line 187, in __init__
> [Fri Aug 19 11:43:46 2016] [error]     super(Connection,
> self).__init__(*args, **kwargs2)
> [Fri Aug 19 11:43:46 2016] [error] OperationalError: (2003, "Can't connect
> to MySQL server on '127.0.0.1' (13)")
>
>
> Kindly do the needful!!!
>
> Regards,
> Mano
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to