in docs: correct mysql sentence and add same convention for database password

This commit is contained in:
Cesar Carruitero 2012-07-03 22:00:55 -05:00 коммит произвёл Will Kahn-Greene
Родитель c6447add00
Коммит fb124f7942
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -261,7 +261,7 @@ database settings. For example, using the settings above::
To load the latest database schema, use ``scripts/schema.sql`` and
``schematic``::
$ mysql -u kitsune -p <YOUR_PASSWORD> < scripts/schema.sql
$ mysql -u kitsune -p kitsune < scripts/schema.sql
$ ./vendor/src/schematic/schematic migrations/
You'll now have an empty but up-to-date database!

Просмотреть файл

@ -153,7 +153,7 @@ For local development you will want to add the following settings::
'ENGINE': 'django.db.backends.mysql',
'HOST': 'localhost',
'USER': 'kitsune',
'PASSWORD': 'password',
'PASSWORD': '<YOUR_PASSWORD>',
'OPTIONS': {'init_command': 'SET storage_engine=InnoDB'},
'TEST_CHARSET': 'utf8',
'TEST_COLLATION': 'utf8_unicode_ci',
@ -234,7 +234,7 @@ settings. For example, using the settings above::
To load the latest database schema, use ``scripts/schema.sql`` and
``schematic``::
$ mysql -u kitsune -p <YOUR_PASSWORD> < scripts/schema.sql
$ mysql -u kitsune -p kitsune < scripts/schema.sql
$ ./vendor/src/schematic/schematic migrations/
You'll now have an empty but up-to-date database!