~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/create_schema.rst

Merge Monty - Added inter-plugin dependencies for controlling plugin load order

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
CREATE SCHEMA
2
 
==============
3
 
 
4
 
CREATE SCHEMA enters a new schema into the current database. The schema name used must be distinct from the name of any existing schema.
5
 
 
6
 
.. code-block:: mysql
7
 
 
8
 
   CREATE SCHEMA [IF NOT EXISTS] schema_name
9
 
     [engine_options] ...
10
 
 
11
 
engine_options
12
 
--------------
13
 
 
14
 
You can specify the storage engine to use for creating the schema.
15
 
 
16
 
::
17
 
 
 
2
=============
 
3
 
 
4
CREATE SCHEMA [IF NOT EXISTS] schema_name
 
5
  [engine_options] ...
 
6
 
 
7
engine_options:
18
8
    engine_option [[,] engine_option] ...
19
9
 
20
 
engine_option
21
 
-------------
22
 
 
23
 
There are default settings for character sets and collations at four levels: server, database, table, and column. The COLLATE clause specifies the default database collation.
24
 
 
25
 
::
26
 
 
 
10
engine_option:
27
11
  [DEFAULT] COLLATE = collation_name
28
12
  { engine_specific }