Yup, that worked. Thanks, Christian.

On Dec 31 2010, 4:21 pm, Christian Hammond <chip...@chipx86.com>
wrote:
> Hi Chris,
>
> It looks like the username/password specified for your database during
> configuration was incorrect or that user doesn't have all rights on
> the database.
>
> You have to first have the database, create it, and then grant all
> access to the user that will be accessing it. That must precede
> rb-site install.
>
> If you already do have it, and all rights are granted, I'd just go
> through the installation again and make sure that you didn't typo the
> password.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.reviewboard.org
> VMware, Inc. -http://www.vmware.com
>
>
>
>
>
>
>
> On Fri, Dec 31, 2010 at 12:27 PM, Chris S <chris.gamecir...@gmail.com> wrote:
> > Hi guys,
>
> > I'm very new to ReviewBoard, and when trying to create a new site, I
> > get these errors after entering details/choosing options:
>
> > * Installing the site...
> > Building site directories ... OK
> > Building site configuration files ... OK
> > Creating database ... Traceback (most recent call last):
> >  File "/usr/local/bin/rb-site", line 9, in <module>
> >    load_entry_point('ReviewBoard==1.5.1', 'console_scripts', 'rb-
> > site')()
> >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.1-
> > py2.6.egg/reviewboard/cmdline/rbsite.py", line 1611, in main
> >    command.run()
> >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.1-
> > py2.6.egg/reviewboard/cmdline/rbsite.py", line 1177, in run
> >    self.show_install_status()
> >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.1-
> > py2.6.egg/reviewboard/cmdline/rbsite.py", line 1436, in
> > show_install_status
> >    site.sync_database)
> >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.1-
> > py2.6.egg/reviewboard/cmdline/rbsite.py", line 703, in step
> >    func()
> >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.1-
> > py2.6.egg/reviewboard/cmdline/rbsite.py", line 339, in sync_database
> >    self.run_manage_command("syncdb", params)
> >  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.1-
> > py2.6.egg/reviewboard/cmdline/rbsite.py", line 397, in
> > run_manage_command
> >    execute_manager(reviewboard.settings, [__file__, cmd] + params)
> >  File "/usr/local/lib/python2.6/dist-packages/Django-1.2.4-py2.6.egg/
> > django/core/management/__init__.py", line 438, in execute_manager
> >    utility.execute()
> >  File "/usr/local/lib/python2.6/dist-packages/Django-1.2.4-py2.6.egg/
> > django/core/management/__init__.py", line 379, in execute
> >    self.fetch_command(subcommand).run_from_argv(self.argv)
> >  File "/usr/local/lib/python2.6/dist-packages/Django-1.2.4-py2.6.egg/
> > django/core/management/base.py", line 191, in run_from_argv
> >    self.execute(*args, **options.__dict__)
> >  File "/usr/local/lib/python2.6/dist-packages/Django-1.2.4-py2.6.egg/
> > django/core/management/base.py", line 219, in execute
> >    self.validate()
> >  File "/usr/local/lib/python2.6/dist-packages/Django-1.2.4-py2.6.egg/
> > django/core/management/base.py", line 249, in validate
> >    num_errors = get_validation_errors(s, app)
> >  File "/usr/local/lib/python2.6/dist-packages/Django-1.2.4-py2.6.egg/
> > django/core/management/validation.py", line 93, in
> > get_validation_errors
> >    connection.validation.validate_field(e, opts, f)
> >  File "/usr/local/lib/python2.6/dist-packages/Django-1.2.4-py2.6.egg/
> > django/db/backends/mysql/validation.py", line 14, in validate_field
> >    db_version = self.connection.get_server_version()
> >  File "/usr/local/lib/python2.6/dist-packages/Django-1.2.4-py2.6.egg/
> > django/db/backends/mysql/base.py", line 313, in get_server_version
> >    self.cursor()
> >  File "/usr/local/lib/python2.6/dist-packages/Django-1.2.4-py2.6.egg/
> > django/db/backends/__init__.py", line 75, in cursor
> >    cursor = self._cursor()
> >  File "/usr/local/lib/python2.6/dist-packages/Django-1.2.4-py2.6.egg/
> > django/db/backends/mysql/base.py", line 297, in _cursor
> >    self.connection = Database.connect(**kwargs)
> >  File "/usr/lib/pymodules/python2.6/MySQLdb/__init__.py", line 81, in
> > Connect
> >    return Connection(*args, **kwargs)
> >  File "/usr/lib/pymodules/python2.6/MySQLdb/connections.py", line
> > 170, in __init__
> >    super(Connection, self).__init__(*args, **kwargs2)
> > _mysql_exceptions.OperationalError: (1045, "Access denied for user
> > 'dbuser'@'localhost' (using password: YES)")
>
> > I am installing on an Ubuntu Linux 10.4 server and have followed the
> > installation instructions from the Linux page. What am I doing wrong
> > here?
>
> > Also, for hostname, can an internal IP address be used (such as
> > 192.168.1.11) with the /reviews/ option (such that, theoretically one
> > can access a ReviewBoard site via 192.168.1.11/reviews) ?
>
> > --
> > Want to help the Review Board project? Donate today 
> > athttp://www.reviewboard.org/donate/
> > Happy user? Let us know athttp://www.reviewboard.org/users/
> > -~----------~----~----~----~------~----~------~--~---
> > To unsubscribe from this group, send email to 
> > reviewboard+unsubscr...@googlegroups.com
> > For more options, visit this group 
> > athttp://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
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