Foros del Web » Programación para mayores de 30 ;) » Bases de Datos General » Mysql »

Error en la sintaxis de SQL

Estas en el tema de Error en la sintaxis de SQL en el foro de Mysql en Foros del Web. Hola colegas. Mi nombre es Diego y es la primera vez que posteo por acá. Mi experencia en manejo de datos es muy pobre. Administro ...
  #1 (permalink)  
Antiguo 21/08/2010, 06:28
 
Fecha de Ingreso: agosto-2010
Mensajes: 1
Antigüedad: 13 años, 8 meses
Puntos: 0
Error en la sintaxis de SQL

Hola colegas.

Mi nombre es Diego y es la primera vez que posteo por acá. Mi experencia en manejo de datos es muy pobre. Administro mi propio sitio web y hasta el momento no había tenido problemas con el backup de la base de datos.

Al ingresar a phpMyAdmin y ejecutar el backup, se presenta el siguiente mensaje:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Utilizando HeidiSQL, logro descargar la base de datos con sus tablas, pero al intentar importarla, obtengo el siguiente mensaje:

Error

consulta SQL:

# HeidiSQL Dump
#
# --------------------------------------------------------
# Host: 190.228.29.67
# Database: frionlin_forum
# Server version: 5.0.51b-log
# Server OS: pc-linux-gnu
# Target compatibility: HeidiSQL w/ MySQL Server 4.0
# Target max_allowed_packet: 8387584
# HeidiSQL version: 4.0
# Date/time: 2010-08-20 23:18:38
# --------------------------------------------------------
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;*/#
# Database structure for database 'frionlin_forum'
#
CREATE DATABASE `frionlin_forum` /*!40100 DEFAULT CHARACTER SET utf8 COLLATE utf8_spanish_ci */;

MySQL ha dicho:

#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 'CREATE DATABASE `frionlin_forum` /*!40100 DEFAULT CHARACTER SET utf8 COLLATE utf' at line 21

Si me pudiesen ayudar, estaría muy agradecido.

Saludos cordiales.

Diego

Etiquetas: sintaxis, sql
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 20:25.