Closed ivixq closed 6 years ago
su-exec mysql mysqld_safe
Unsure as my docker hosts are usually Alpine, Debian or Ubuntu. Maybe someone else might be more knowledgeable.
Just got the same error and it could be related to the following infos: https://stackoverflow.com/questions/44008880/table-tmp-sql-1-0-mai-is-read-only
Hope it could help!
When I ran the image In CentOS 7.3 , the error happened.
MariaDB [(none)]> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | mysql | | performance_schema | | test | +--------------------+ 4 rows in set (0.00 sec)
MariaDB [(none)]> use mysql; Database changed MariaDB [mysql]> desc user; ERROR 1036 (HY000): Table '/tmp/#sql_1_0.MAI' is read only