﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
5530	ImportError: No module named mysql.base	anonymous	nobody	"I got this error:
{{{
Traceback (most recent call last):
  File ""low_level_test1.cgi"", line 84, in ?
    from django.test.utils import setup_test_environment
  File ""./django/test/__init__.py"", line 6, in ?
    from django.test.testcases import TestCase
  File ""./django/test/testcases.py"", line 6, in ?
    from django.db import transaction
  File ""./django/db/__init__.py"", line 23, in ?
    backend = __import__('%s.base' % settings.DATABASE_ENGINE, {}, {}, [''])
ImportError: No module named mysql.base
}}}

But this is not the true error. The real problem is the version checking routines here: http://code.djangoproject.com/browser/django/trunk/django/db/backends/mysql/base.py#L13
Is raises a ImportError, too!

So i don't see message ""MySQLdb-1.2.1p2 or newer is required; you have..."" i see the wrong error messages from above: ""No module named mysql.base""

Solution: I think the Version Exception must be a different class and not the generetic ImportError."		closed	Database layer (models, ORM)	dev		duplicate	mysql		Unreviewed	0	0	0	0	0	0
