S
S
Sergey Goryachev2016-05-21 23:38:54
linux
Sergey Goryachev, 2016-05-21 23:38:54

What warning does MySQL give?

Hello. Dumping the database:

# sudo mysqldump --user=**** --password="****" --database **** > ****.sql

The backup is made, but there is a warning.
Warning: Using unique option prefix database instead of databases is deprecated and will be removed in a future release. Please use the full name instead.

What's the warning? Googled, but didn't come up with a definitive answer.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Сергей Горячев, 2016-05-22
@webirus

Нашел решение, ему синтаксис не нравится устаревший.
sudo mysqldump -u<USER> -p<PASS> DBNAME > DUMP.sql

M
Max Kostikov, 2016-05-21
@mxms

Вот ваш случай и с зелёной галкой решение проблемы.
serverfault.com/questions/670648/mysqldump-complai...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question