From fb124f79421baeb6a57a77c5342a1fcff51169f6 Mon Sep 17 00:00:00 2001 From: Cesar Carruitero Date: Tue, 3 Jul 2012 22:00:55 -0500 Subject: [PATCH] in docs: correct mysql sentence and add same convention for database password --- docs/hacking_howto.rst | 2 +- docs/installation.rst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/hacking_howto.rst b/docs/hacking_howto.rst index 4ff149ebe..3ce172fc4 100644 --- a/docs/hacking_howto.rst +++ b/docs/hacking_howto.rst @@ -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 < 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! diff --git a/docs/installation.rst b/docs/installation.rst index 8f4f2f533..021442f40 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -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': '', '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 < 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!