Problemas com backup MYSQL  XML
Índice dos Fóruns » Certificação Java
Autor Mensagem
lcm4693PJ
JavaChild
[Avatar]

Membro desde: 03/06/2007 00:00:00
Mensagens: 140
Offline

Estou com um grande problema ao fazer um backup do meu banco no mysql

Estou utilizando o SQLyog e o mysqldump para gerar.

Quando abro SQLyog e tento restaurar ele simplemente dá o erro:

"There was an error while executing a query. The query and the error message has been logged at: $LOG DE ERRO$. Please click on Open error file to open the error file."




O log me mostra isso:





Query:
/*!40101 SET NAMES utf8 *//*!40101 SET SQL_MODE=''*/

Error occured at:2007-07-11 22:32:08
Line no.:10
Error Code: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SET SQL_MODE=''*/' at line 1

Query:
/*!40101 SET NAMES utf8 *//*!40101 SET SQL_MODE=''*/

Error occured at:2007-07-28 01:19:23
Line no.:10
Error Code: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SET SQL_MODE=''*/' at line 1

Query:
/*!40101 SET NAMES utf8 *//*!40101 SET SQL_MODE=''*/

Error occured at:2007-07-28 01:19:31
Line no.:10
Error Code: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SET SQL_MODE=''*/' at line 1

Query:

DROP TABLE IF EXISTS `icrm_abertura`

Error occured at:2007-07-28 01:20:18
Line no.:3
Error Code: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
DROP TABLE IF EXISTS `icrm_abertura`' at line 1

Query:
/*!40101 SET NAMES utf8 *//*!40101 SET SQL_MODE=''*/

Error occured at:2007-08-02 10:42:52
Line no.:10
Error Code: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SET SQL_MODE=''*/' at line 1

Query:
/*!40101 SET NAMES utf8 *//*!40101 SET SQL_MODE=''*/

Error occured at:2007-08-03 18:13:58
Line no.:10
Error Code: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SET SQL_MODE=''*/' at line 1

Query:

DROP TABLE IF EXISTS `icrm_abertura`

Error occured at:2007-08-07 19:13:23
Line no.:2
Error Code: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
DROP TABLE IF EXISTS `icrm_abertura`' at line 1

Query:

DROP TABLE IF EXISTS `icrm_abertura`

Error occured at:2007-08-07 19:26:18
Line no.:2
Error Code: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
DROP TABLE IF EXISTS `icrm_abertura`' at line 1

Query:

DROP TABLE IF EXISTS `icrm_abertura`

Error occured at:2007-08-07 19:26:41
Line no.:2
Error Code: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
DROP TABLE IF EXISTS `icrm_abertura`' at line 1

Query:

DROP TABLE IF EXISTS `icrm_abertura`

Error occured at:2007-08-08 00:48:23
Line no.:2
Error Code: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
DROP TABLE IF EXISTS `icrm_abertura`' at line 1
[WWW] aim icon [ICQ]
marcossousaPJ
GUJ Master
[Avatar]
Membro desde: 14/01/2004 00:00:00
Mensagens: 1835
Offline

Você está usando qual aplicação para gerar o backup. Use aquele Tools do Mysql. Tem um administrator lá muito bom. Só o query browser que é horrível.

:okok:

http://www.marcossousa.com
[WWW] aim icon [ICQ]
carlosjrcabeloPJ
JavaEvangelist
[Avatar]

Membro desde: 17/04/2006 00:00:00
Mensagens: 430
Offline

Use o MySQL-Front ele é bem pratico para backup´s.
[WWW] aim icon [ICQ]
lcm4693PJ
JavaChild
[Avatar]

Membro desde: 03/06/2007 00:00:00
Mensagens: 140
Offline

Po, ja testei esse backup do Mysql Administrator mas n deu muito certo tb n

Deu o mesmo erro.

Vou tentar o mysql Front


Abrasços
[WWW] aim icon [ICQ]
 
Índice dos Fóruns » Certificação Java
Ir para:   
Powered by JForum 2.1.8 © JForum Team