#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    1
    Rep Power
    0
    Could someone tell me how to create/edit/run an SQL script file from MySQL
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Location
    London, England
    Posts
    251
    Rep Power
    15
    1. Create the file as plain text using a text editor.

    2. Upload to the server assuming it's not already there.

    3. From the shell prompt (NOT the mysql prompt) do

    mysql < yourfile.sql

Similar Threads

  1. perl scripts to executable files
    By clayu in forum Perl Programming
    Replies: 1
    Last Post: January 22nd, 2004, 08:57 AM
  2. how to rename files
    By dxgn in forum Perl Programming
    Replies: 1
    Last Post: January 1st, 2004, 01:10 PM
  3. More trouble in paradise - editing files
    By craig.stewart in forum PHP Development
    Replies: 8
    Last Post: October 2nd, 2001, 01:23 AM
  4. Editing files
    By Paul_Statham in forum Perl Programming
    Replies: 20
    Last Post: March 23rd, 2001, 04:32 PM
  5. Word parsing, editing text files, excute to shell
    By cryzeck in forum PHP Development
    Replies: 1
    Last Post: August 7th, 2000, 04:49 PM

IMN logo majestic logo threadwatch logo seochat tools logo