root@fapchat-Lenovo-G570:/home/fapchat/Рабочий стол/papka/backups of mysql# mysqldump -u fapchat -ppassword --no-create-info --tab=/home/fapchat/'Рабочий стол'/papka/'backups of mysql' --fields-terminated-by=',' publications
mysqldump: Got error: 1: "Can't create/write to file '/home/fapchat/Рабочий стол/papka/backups of mysql/accounts.txt' (Errcode: 13 "Permission denied")" when executing 'SELECT INTO OUTFILE'
Привелегии у этого юзера есть
MariaDB [(none)]> GRANT ALL ON *.* TO 'fapchat'@'localhost' IDENTIFIED BY 'password';
Query OK, 0 rows affected (0.14 sec)
Все таблицы базы данных я закрыл
MariaDB [publications]> LOCK TABLES
-> classics Read, customers read;
Query OK, 0 rows affected (0.00 sec)
(даже если не все, то оно всё равно должно работать)
MariaDB [publications]> show tables;
+------------------------+
| Tables_in_publications |
+------------------------+
| accounts |
| classics |
| customers |
+------------------------+
3 rows in set (0.00 sec)