我的SQL备份查询 [英] MY SQL BACKUP QUERY

查看:61
本文介绍了我的SQL备份查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!

我有一个mysql数据库,我想使用java程序对其进行备份.现在我的问题是我可以使用哪种查询或任何其他方法.
我已经用到了:

将学生数据库备份到磁盘=''c:\ backup \ first.bak''

学生是数据库名称.但是,它给出一个错误,表明您的sql语法不正确.

Hello guys!

I have a mysql database and I want to take a backup of it using java program. Now my question is what query I can use or any other method.
I have use this:

backup database student to disk =''c:\backup\first.bak''

where student is database name. But, it gives an error that your sql syntax is incorrect.
Please, can anbody solve this problem?

推荐答案

请参阅例如 [
See for instance "Backing up and restoring your MySQL Database"[^].
:)


这篇关于我的SQL备份查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆