开发者

Is there a way to use mysqldump without a shell session?

I'd like to use mysqldump to back开发者_如何学Python up my database and have written a script to do this by dropping into a shell and issuing a mysqldump statement. Is there a way to get the same dump but without using a shell? Isn't there a way I can use straight SQL to do this?


You can select the raw data into an outfile (using SELECT ... INTO OUTFILE), but I don't believe there's a way of doing a full 'schema with inserts' style dump.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜