This forum is no longer active. Please post your questions to our new community site

Default MySQL password

Subscribe to Default MySQL password 4 post(s), 4 voice(s)

Avatar Rick Guardia 1 post

I am trying to log into the django admin on my installed amazon/rightscale/bitnami stack at http://<mydns>/<project>/admin

The Django doc says that the default password is the root mysql password. THe mysql doc says that the default root password is blank.

When I try to log into the admin OR mysql using the command line on the server I get that the user/password is invalid ..

what is the default root mysql password for the bitnami/rightscale/django stack ..


Avatar danoo Administrator 81 post(s)

Hi Rick,

can you please try the following default values ?


let us know if it works for you.

Best regards,

Avatar jstoner 2 post(s)

I think I have a related problem. As the original poster says, MySQL says its initial root password is empty. I’m trying to log in at the command line to create databases and stuff, and I get this

[jstoner@erzulie]> ./bin/mysql -u root
ERROR 1045 (28000): Access denied for user ’root’@’localhost’ (using password: NO)

so I suppose you guys set your own default password as part of the install. I tried copying your lines into (which I think is what you meant) and ran like the django instructions say, and got

[jstoner@erzulie]> ../../python/bin/python syncdb
Traceback (most recent call last):
File “”, line 4, in
import settings # Assumed to be in the same directory.
File “/Applications/djangostack-1.1.1-1/projects/mysite/”, line 9, in
NameError: name ‘bitnami_django_root_password’ is not defined

Not sure how to get in and create my databases so I can enjoy the django goodness. Any ideas?

Avatar Beltrán Rueda Administrator 3,714 post(s)


To login in the mysql database you should specify the password which is the same that you set during the installation:

$ cd /Applications/django-(version)
$ mysql/bin/mysql -u root -p password

In the demo project created by the installer you can find how to configure the database for your application in the file.