Russ
unread,Apr 21, 2008, 2:43:17 AM4/21/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
Im trying to learn django and I appear to be running into an issue
with python manage.py dbshell I am getting the following error can
anyone shed some light on this for me, Im at a loss
Im running MAC OSX 10.5.2 Leopard
I have installed the MySQLdb
Thank You
$ python manage.py dbshell
Traceback (most recent call last):
File "manage.py", line 11, in <module>
execute_manager(settings)
File "/Library/Python/2.5/site-packages/django/core/management.py",
line 1672, in execute_manager
execute_from_command_line(action_mapping, argv)
File "/Library/Python/2.5/site-packages/django/core/management.py",
line 1569, in execute_from_command_line
action_mapping[action]()
File "/Library/Python/2.5/site-packages/django/core/management.py",
line 1290, in dbshell
runshell()
File "/Library/Python/2.5/site-packages/django/db/__init__.py", line
28, in <lambda>
runshell = lambda: __import__('django.db.backends.%s.client' %
settings.DATABASE_ENGINE, {}, {}, ['']).runshell()
File "/Library/Python/2.5/site-packages/django/db/backends/mysql/
client.py", line 27, in runshell
os.execvp('mysql', args)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/os.py", line 354, in execvp
_execvpe(file, args)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/os.py", line 392, in _execvpe
func(fullname, *argrest)
OSError: [Errno 2] No such file or directory