Answer the question
In order to leave comments, you need to log in
Ubuntu on Windows 10 via WSL. Why doesn't mysql import work?
I made myself a debug server on Ubuntu on top of Windows 10 via WSL. Raised apache2, mariadb-server, php 7 on it. Everything started up fine, but until the database dump was imported from the old debug server under Windows. The base itself was created without problems. And when importing phpMyAdmin gives:
SQL query:
CREATE TABLE `product_and_cateid_mapping` (
`id` int(7) NOT NULL,
`category_id` int(7) NOT NULL,
`product_id` int(7) NOT NULL,
`mode` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB
MySQL said:
#27 - Can't sync file './streetlife/' to disk (Errcode: 5)
[email protected]:/var/www# mysql --user=root --password=mysql streetlife < streetlife.sql
ERROR 27 (HY000) at line 32: Can't sync file './streetlife/' to disk (Errcode: 5)
Answer the question
In order to leave comments, you need to log in
The issue was resolved by completely removing mariadb-*, cleaning up the configs, and installing mysql-server-5.6 instead
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question