Ver Mensaje Individual
  #6 (permalink)  
Antiguo 04/09/2007, 17:25
Nantcy
 
Fecha de Ingreso: marzo-2007
Mensajes: 163
Antigüedad: 17 años, 1 mes
Puntos: 0
Pregunta Re: como cargar script a mysql ????

La extensión del script es .sql y estube leyendo y dice que en el script vienen las instruccines pero solo me sale esto en el archivo que se generó:

#
# BW4MySQL dump 1.0
#

# Host: localhost Database: tienda
# ------------------------------------------------------
# Server version: 5.0.24a-community-nt

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES cp850 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE=NO_AUTO_VALUE_ON_ZERO */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

DROP DATABASE IF EXISTS `tienda`;
CREATE DATABASE `tienda`;
USE `tienda`;

#
# Table structure for table `carro_compra`
#

DROP TABLE IF EXISTS `carro_compra`;
CREATE TABLE `carro_compra` (
`id_carro` int(11) NOT NULL auto_increment,
`id_art` int(11) default NULL,
`nom_art` varchar(60) default NULL,
`precio` float default NULL,
`e_mail` varchar(50) default NULL,
`fecha` date default NULL,
PRIMARY KEY (`id_carro`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;



#
# Table structure for table `categorias`
#

DROP TABLE IF EXISTS `categorias`;
CREATE TABLE `categorias` (
`id_categoria` int(11) NOT NULL,
`id_producto` int(11) NOT NULL,
`tipo_catego` varchar(45) default NULL,
PRIMARY KEY (`id_categoria`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

esto solo es parte de las tablas y del contenido del script-sql, este archivo lo habro en el bloc de notas.