MySQL Forums
Forum List  »  Backup

Restore database with --execute argument from a Windows Named Pipe source
Posted by: Clément Villefranque
Date: July 22, 2015 09:12AM

Hi,

I'm having trouble when I try to restore a database with the argument --execute and from a named pipe source.
On linux, everything's working perfectly (with unix sockets), but on Windows...

I tried multiple cases :
* --execute="source \\.\pipe\Blabla" ;
* --execute="source //./pipe/Blabla" ;
* --execute=source \\.\pipe\Blabla ;
* Every tries doubling the slash / backslash ;

Using the argument --execute w/o quotes throw me the error "Database does not exists", which is logic.
Using the argument --excute with quotes, MySQL seems to "eat" the dot slash (./) or the dot backslash (.\) because he throw me this error : "Failed to open file '\\pipe\Blabla', error: 2".

I can't get any informations on this specific case, restoring with --execute and from a windows named pipe, on internet and that's why I'm here requesting some help.

Thanks,
Best Regards.

Options: ReplyQuote


Subject
Views
Written By
Posted
Restore database with --execute argument from a Windows Named Pipe source
2111
July 22, 2015 09:12AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.