TESTING
changeset 75 39f777341db4
parent 49 08e4dfe1b0cb
child 104 d8ff52a0390f
equal deleted inserted replaced
74:d4306261ddfb 75:39f777341db4
    11 
    11 
    12 2. create test tables using sql/tests.sql
    12 2. create test tables using sql/tests.sql
    13 
    13 
    14 3. run tests.py
    14 3. run tests.py
    15 
    15 
       
    16 
       
    17 PostgreSQL
       
    18 ----------
       
    19 
       
    20 CREATE ROLE test LOGIN PASSWORD 'test';
       
    21 
       
    22 CREATE DATABASE test;
       
    23 \c test
       
    24 \i sql/tests.sql
       
    25 
       
    26 
       
    27 MySQL
       
    28 -----
       
    29 
       
    30 CREATE USER 'test'@'%' IDENTIFIED BY 'test';
       
    31 GRANT all ON test.* TO 'test'@'%';
       
    32 
       
    33 CREATE DATABASE test;
       
    34 USE test;
       
    35 
       
    36 CREATE TABLE test
       
    37 (
       
    38   id INT NOT NULL AUTO_INCREMENT,
       
    39   name TEXT,
       
    40   PRIMARY KEY (id)
       
    41 )
       
    42 ENGINE=InnoDB CHARSET=utf8;
       
    43