开发者

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

开发者 https://www.devze.com 2022-12-15 01:19 出处:网络
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 dum

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

精彩评论

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