1. No Profile Picture
    Devshed Newbie (0 - 499 posts)
    Hi ppl..

    I want to build a database with a script similar to an oracle script. The script basically consists of create table statements. I've read the manual but all it tells me is how to populate the tables in the database. Can I run such scripts in mysql to create and destroy a db?

  2. #2
  3. No Profile Picture
    Devshed Newbie (0 - 499 posts)
    I'm not familiar with oracle scripts, but you can put a list of mysql commands in a text file then use the following command.

    mysql databaseName <textFile

    Hope that helps....

Similar Threads

  1. Replies: 3
    Last Post: April 29th, 2009, 06:33 AM
  2. Upgrade from access to mysql
    By karib1 in forum ASP Programming
    Replies: 7
    Last Post: December 16th, 2003, 12:35 PM
  3. Can't connect to mysql
    By pacman in forum MySQL Help
    Replies: 2
    Last Post: February 28th, 2003, 12:46 AM
  4. I have a really basic question about running mySQL
    By lotrtrotk in forum MySQL Help
    Replies: 2
    Last Post: June 10th, 2002, 05:37 PM
  5. running php included from a mysql database
    By hatseflats in forum PHP Development
    Replies: 2
    Last Post: November 16th, 2001, 06:45 AM

IMN logo majestic logo threadwatch logo seochat tools logo