Skip to content

Can't initialise MySQL 5.7 in Ubuntu 16.04 (in-memory) #11

Description

@olegpidsadnyi

There are few issues noticed while trying mysql fixture in Ubuntu 16.04 and MySQL 5.7.

Ubuntu is changing /dev/shm to /run/shm.
MySQL is changing instantiation to "mysqld --initialize".
MySQL can't initialise data folder unless it doesn't exist. So creation of the defaults.cnf has to be stored in another directory.
MySQL can't access (read/write) folders that pytest process is creating in the /run/shm, including tmp.

It might become problematic with upgrades of Ubuntu.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions