python manage.py syncdb error
I am new to python & django and I am attempting to install them on to my pc, but I get an error message that reads:

File "c:\users\[username]\appdata\local\temp\easy_install-pazcre\MySQL_python-1.2.3-py2.7-    win32.egg.tmp\MySQLdb\connections.py", line 187, in __init__     mysql_exceptions.OperationalError: (1045, "Access denied for user 'django_user'@'localhost'     (using password: YES)")

I created my database from the command line as:

    #create the database
    CREATE DATABASE GlobalXdb CHARACTER SET utf8;

    #create user
    CREATE USER 'django_user'@'localhost' IDENTIFIED BY 'thepassword';

    #give user permissions to db 
    GRANT ALL ON django.* TO 'django_user'@'localhost'


I have amended my settings.py file as:

    DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
        'NAME': 'GlobalXdb',                      # Or path to database file if using sqlite3.
        'USER': 'django_user',                      # Not used with sqlite3.
        'PASSWORD': 'thepassword',                  # Not used with sqlite3.
        'HOST': '',                      # Set to empty string for localhost. Not used with sqlite3.
        'PORT': '',                      # Set to empty string for default. Not used with sqlite3.
    }
}

Can anyone shed some light on what I have done incorrectly and really help out a newbie?

Thanks.
python manage.py syncdb error
===

I am new to python & django and I am attempting to install them on to my pc, but I get an error message that reads:

File "c:\users\[username]\appdata\local\temp\easy_install-pazcre\MySQL_python-1.2.3-py2.7-    win32.egg.tmp\MySQLdb\connections.py", line 187, in __init__     mysql_exceptions.OperationalError: (1045, "Access denied for user 'django_user'@'localhost'     (using password: YES)")

I created my database from the command line as:

    #create the database
    CREATE DATABASE GlobalXdb CHARACTER SET utf8;

    #create user
    CREATE USER 'django_user'@'localhost' IDENTIFIED BY 'thepassword';

    #give user permissions to db 
    GRANT ALL ON django.* TO 'django_user'@'localhost'


I have amended my settings.py file as:

    DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
        'NAME': 'GlobalXdb',                      # Or path to database file if using sqlite3.
        'USER': 'django_user',                      # Not used with sqlite3.
        'PASSWORD': 'thepassword',                  # Not used with sqlite3.
        'HOST': '',                      # Set to empty string for localhost. Not used with sqlite3.
        'PORT': '',                      # Set to empty string for default. Not used with sqlite3.
    }
}

Can anyone shed some light on what I have done incorrectly and really help out a newbie?

Thanks.