On Thursday 12 January 2017 01:24:05 Shashank Yadav wrote:
> $ python manage.py test polls
> Creating test database for alias 'default'...
> Got an error creating the test database: (1044, "Access denied for
> user 'myprojectuser'@'localhost' to da
am working on tutorial 5 , i tried running a test:
>
> $ python manage.py test polls
> Creating test database for alias 'default'...
> Got an error creating the test database: (1044, "Access denied for user
> 'myprojectuser'@'localhost' to database '
Hello,
I am working on tutorial 5 , i tried running a test:
$ python manage.py test polls
Creating test database for alias 'default'...
Got an error creating the test database: (1044, "Access denied for user
'myprojectuser'@'localhost' to database 'test_m
lls" I get the following
> error - error creating the test database: (1044, "Access denied for user
> 'viewbank_django'@'localhost' to database 'test_viewbank_django'")
>
> I am using a shared server that will only allow me to create a database
;s is it.
>
> On Thursday, December 27, 2012 3:45:58 PM UTC+2, Sanket Garg wrote:
> i m trying to follow the following guide
>
> https://docs.djangoproject.com/en/1.3/intro/tutorial01/
>
> but i m getting error
> ERROR 1045 (28000): Access denied for user 'Sanket'@
command - "python manage.py test polls" I get the following
> error - error creating the test database: (1044, "Access denied for user
> 'viewbank_django'@'localhost' to database 'test_viewbank_django'")
>
> I am using a shared server tha
When I run the command - "python manage.py test polls" I get the following
error - error creating the test database: (1044, "Access denied for user
'viewbank_django'@'localhost' to database 'test_viewbank_django'")
I am using a shared s
ERROR 1045 (28000): Access denied for user 'Sanket'@'localhost' (using
> password: YES)
>
> do i need to login in as superuser or something? i m stuck :/
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
om/en/1.3/intro/tutorial01/
>
> but i m getting error
> ERROR 1045 (28000): Access denied for user 'Sanket'@'localhost' (using
> password: YES)
>
> do i need to login in as superuser or something? i m stuck :/
>
> --
> You received this message because
i m trying to follow the following guide
https://docs.djangoproject.com/en/1.3/intro/tutorial01/
but i m getting error
ERROR 1045 (28000): Access denied for user 'Sanket'@'localhost' (using
password: YES)
do i need to login in as superuser or something? i m stuck :/
-
Alright, after some more searching I figured out my answer. First
off, the test statements I posted were wrong. The first argument
passed to execlp is the executable name, so:
> os.execlp(self.executable_name, "-?")
Should be
> os.execlp(self.executable_name, self.executable_name, "-?")
That wo
shell
> ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using
> password: NO)
I modified django/db/backends/mysql/client.py like another poster did
to see what credentials were being passed, and I got this:
client.py:
...
print "self.executable_nam
12 matches
Mail list logo