diff options
| author | Tim Graham <timograham@gmail.com> | 2016-09-30 08:58:59 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-09-30 09:14:17 -0400 |
| commit | 98196766769c2ed8816772b60a2e8b79028963a2 (patch) | |
| tree | 204da966984c1825a8972cbae051d0d317a50233 /docs/ref/databases.txt | |
| parent | bceade84a7337b1f27c3bf7ec158051128f3324b (diff) | |
Updated links to the current version of MySQL docs.
Diffstat (limited to 'docs/ref/databases.txt')
| -rw-r--r-- | docs/ref/databases.txt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt index 6412316a2d..a238eeed62 100644 --- a/docs/ref/databases.txt +++ b/docs/ref/databases.txt @@ -242,9 +242,9 @@ running ``migrate``:: 1005, "Can't create table '\\db_name\\.#sql-4a8_ab' (errno: 150)" ) -.. _storage engines: https://dev.mysql.com/doc/refman/5.6/en/storage-engines.html -.. _MyISAM: https://dev.mysql.com/doc/refman/5.6/en/myisam-storage-engine.html -.. _InnoDB: https://dev.mysql.com/doc/refman/5.6/en/innodb-storage-engine.html +.. _storage engines: https://dev.mysql.com/doc/refman/en/storage-engines.html +.. _MyISAM: https://dev.mysql.com/doc/refman/en/myisam-storage-engine.html +.. _InnoDB: https://dev.mysql.com/doc/refman/en/innodb-storage-engine.html .. [#] Unless this was changed by the packager of your MySQL package. We've had reports that the Windows Community Server installer sets up InnoDB as @@ -323,7 +323,7 @@ If you plan on using Django's :doc:`timezone support </topics/i18n/timezones>`, use `mysql_tzinfo_to_sql`_ to load time zone tables into the MySQL database. This needs to be done just once for your MySQL server, not per database. -.. _mysql_tzinfo_to_sql: https://dev.mysql.com/doc/refman/5.6/en/mysql-tzinfo-to-sql.html +.. _mysql_tzinfo_to_sql: https://dev.mysql.com/doc/refman/en/mysql-tzinfo-to-sql.html Creating your database ---------------------- @@ -334,7 +334,7 @@ You can `create your database`_ using the command-line tools and this SQL:: This ensures all tables and columns will use UTF-8 by default. -.. _create your database: https://dev.mysql.com/doc/refman/5.6/en/create-database.html +.. _create your database: https://dev.mysql.com/doc/refman/en/create-database.html .. _mysql-collation: @@ -348,7 +348,7 @@ the MySQL documentation. In all cases, you set the collation by directly manipulating the database tables; Django doesn't provide a way to set this on the model definition. -.. _documented thoroughly: https://dev.mysql.com/doc/refman/5.6/en/charset.html +.. _documented thoroughly: https://dev.mysql.com/doc/refman/en/charset.html By default, with a UTF-8 database, MySQL will use the ``utf8_general_ci`` collation. This results in all string equality @@ -404,7 +404,7 @@ you should use ``utf8_general_ci`` because it is faster. If this is not acceptab (for example, if you require German dictionary order), use ``utf8_unicode_ci`` because it is more accurate. -.. _MySQL Unicode Character Sets: https://dev.mysql.com/doc/refman/5.7/en/charset-unicode-sets.html +.. _MySQL Unicode Character Sets: https://dev.mysql.com/doc/refman/en/charset-unicode-sets.html .. warning:: @@ -453,7 +453,7 @@ Several other MySQLdb connection options may be useful, such as ``ssl``, ``init_command``, and ``sql_mode``. Consult the `MySQLdb documentation`_ for more details. -.. _MySQL option file: https://dev.mysql.com/doc/refman/5.6/en/option-files.html +.. _MySQL option file: https://dev.mysql.com/doc/refman/en/option-files.html .. _MySQLdb documentation: http://mysql-python.sourceforge.net/ .. _mysql-sql-mode: @@ -467,7 +467,7 @@ warnings into errors when data are truncated upon insertion, so Django highly recommends activating a `strict mode`_ for MySQL to prevent data loss (either ``STRICT_TRANS_TABLES`` or ``STRICT_ALL_TABLES``). -.. _strict mode: https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sql-mode-strict +.. _strict mode: https://dev.mysql.com/doc/refman/en/sql-mode.html#sql-mode-strict If you need to customize the SQL mode, you can set the ``sql_mode`` variable like other MySQL options: either in a config file or with the entry |
