Skip to content

herb123456/test-isolation

Repository files navigation

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!

About

Test mysql transaction isolation level

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages