Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 702 Bytes

README.md

File metadata and controls

44 lines (32 loc) · 702 Bytes

MariaDB 的 Isolation Level 測試

Install

  1. Clone the project
git clone https://github.com/herb123456/test-isolation.git
cd test-isolation
  1. Composer install
composer install
  1. Create a database

You can use any database management tool to create a database for this test.

or you can follow my step to use mysql command.

# mysql -u root
# create database you-database-name;
  1. Edit DB config
vim db_config.php
  1. Initial test table

change to any level's sub folder

cd read_uncommitted

then use doctrine command line tool to initial tables

../vendor/bin/doctrine orm:schema-tool:update --force --dump-sql
  1. Let's run test script!