wohooo, thanks, that worked :)
i owe you a cheesecake
On 21 Apr, 13:03, Anatoliy <[email protected]> wrote:
> Try run this in MySQL:
>
> GRANT ALL ON something TO myusern...@localhost IDENTIFIED BY
> "somepassword"
>
> On Apr 21, 2:52 pm, 83nini <[email protected]> wrote:
>
>
>
> > Yes, i've created a user and granted the user some rights.
>
> > On 21 Apr, 12:48, Anatoliy <[email protected]> wrote:
>
> > > Do you create user and grant rights to him in MySQL?
>
> > > On Apr 21, 1:58 pm, 83nini <[email protected]> wrote:
>
> > > > Hi guys,
>
> > > > I'm new to django and trying to learn. I'm trying to connect django to
> > > > mysql database which i've created, so what i did is that i modified
> > > > the settings.py file to the following:
>
> > > > DATABASE_ENGINE = 'mysql'
> > > > DATABASE_NAME = 'something'
> > > > DATABASE_USER = 'myusername'
> > > > DATABASE_PASSWORD = 'somepassword'
> > > > DATABASE_HOST = 'localhost'
> > > > DATABASE_PORT = '3306'
>
> > > > and when i try to connect to django server i get the following error:
>
> > > > _mysql_exceptions.PerationalError: (1045, "Access denied for user
> > > > 'myusername'@'localhost' (using password: YES)")
>
> > > > i'm using windows vista, django 1, python 2.5, and mysql server 5.0.
>
> > > > any idea why i'm getting this and how do i fix it?
>
> > > > thanks in advance,
> > > > cheers- Dölj citerad text -
>
> > > - Visa citerad text -- Dölj citerad text -
>
> - Visa citerad text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---