Hi,
tried to install baruwa on my CentOS 5.5 box from repo and following the
documentation. I keep getting the following error, when running baruwa-admin
syncdb:
This is the complete error:
Traceback (most recent call last):
File "/usr/bin/baruwa-admin", line 11, in ?
execute_manager(settings)
File "/usr/lib/python2.4/site-packages/django/core/management/__init__.py",
line 438, in execute_manager
utility.execute()
File "/usr/lib/python2.4/site-packages/django/core/management/__init__.py",
line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.4/site-packages/django/core/management/base.py", line
191, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/lib/python2.4/site-packages/django/core/management/base.py", line
220, in execute
output = self.handle(*args, **options)
File "/usr/lib/python2.4/site-packages/django/core/management/base.py", line
351, in handle
return self.handle_noargs(**options)
File
"/usr/lib/python2.4/site-packages/django/core/management/commands/syncdb.py",
line 59, in handle_noargs
tables = connection.introspection.table_names()
File "/usr/lib/python2.4/site-packages/django/db/backends/__init__.py", line
792, in table_names
return self.get_table_list(cursor)
File
"/usr/lib/python2.4/site-packages/django/db/backends/mysql/introspection.py",
line 33, in get_table_list
cursor.execute("SHOW TABLES")
File "/usr/lib/python2.4/site-packages/django/db/backends/mysql/base.py",
line 86, in execute
return self.cursor.execute(query, args)
File "/usr/lib64/python2.4/site-packages/MySQLdb/cursors.py", line 166, in
execute
self.errorhandler(self, exc, value)
File "/usr/lib64/python2.4/site-packages/MySQLdb/connections.py", line 35, in
defaulterrorhandler
raise errorclass, errorvalue
_mysql_exceptions.OperationalError: (1046, 'No database selected')
Any help is highly appreciated.
Thanks.
Regards,
Roland
_______________________________________________
Baruwa mailing list
[email protected]
http://lists.baruwa.org/mailman/listinfo/baruwa