Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 12 of 12
  1. #1
    Join Date
    Jun 2001
    Location
    California
    Posts
    2,014

    SQL Database from a text file

    How does one produce an SQL DB from a text file? Here's the file.

  2. #2
    Join Date
    Apr 2004
    Location
    Vancouver, Canada
    Posts
    1,790
    That's a MySQL dump file created with phpMyAdmin. You can recreated the db by importing this file using phpMyAdmin or any other MySQL management program.
    Dermot

    I am so out of here

  3. #3
    Join Date
    May 2006
    Posts
    5,380
    yup, just paste it in to phpMyAdmin "Execute SQL" or import the file and away you go
    Open your eyes to Narcissism, Don't let her destroy your life!!

  4. #4
    Join Date
    Oct 2000
    Location
    Peoria, AZ USA
    Posts
    810
    Sorry, already answered.
    Last edited by AGRO; 02-06-2008 at 08:32 PM.

  5. #5
    Join Date
    Mar 2008
    Posts
    1

    How to generate text file from sql database

    How to generate text file from sql database

  6. #6
    Join Date
    May 2006
    Posts
    5,380
    in phpmyadmin, select your database and click "EXPORT"
    Open your eyes to Narcissism, Don't let her destroy your life!!

  7. #7
    Join Date
    Aug 2003
    Posts
    2,427
    Quote Originally Posted by cooollingesh View Post
    How to generate text file from sql database
    Is that sql or is it mysql?

  8. #8
    Join Date
    Jun 2001
    Location
    California
    Posts
    2,014
    SQL...I really didn't want to load that whole phpmyadmin onto a server just to make that DB. Is there another way? (easy/er)

  9. #9
    Join Date
    May 2006
    Posts
    5,380
    Is there another way?
    yeah......do it in php,

    is that the database ^^ in your first post....i'll make a start for you
    Open your eyes to Narcissism, Don't let her destroy your life!!

  10. #10
    Join Date
    Aug 2003
    Posts
    2,427
    Quote Originally Posted by Bruce View Post
    SQL...I really didn't want to load that whole phpmyadmin onto a server just to make that DB. Is there another way? (easy/er)
    Looks to me like your text file is a mysql dump. If you have access to the mysql database and a sql server then you'd probably be looking at creating a dts (data transformation services) package on the sql database. It's most definitely not for the faint-hearted. I scratch at the surface of sql server every day but only because I have to, I wouldn't fancy doing/trying it.

    Stick with mysql and mysqladmin would be my advice fwiw.

    I would have thought that your ISP could help you out with this. If it isn't already available, ask them if they will install it.

    Take Rizla up on his offer

  11. #11
    Join Date
    May 2006
    Posts
    5,380
    Hey Bruce, run this php file in your browser to install the tables

    just edit the connection stuff at the top
    Last edited by RizlaUK; 02-01-2009 at 11:34 AM.
    Open your eyes to Narcissism, Don't let her destroy your life!!

  12. #12
    Join Date
    Jun 2001
    Location
    California
    Posts
    2,014
    Thanks RizlaUK-
    It wont open for me, thank you for trying.

Similar Threads

  1. Text File Header
    By markstaylor in forum AutoPlay Media Studio 6.0
    Replies: 0
    Last Post: 07-26-2007, 09:50 PM
  2. Help! Submit from a text file to a website
    By wedgea09 in forum AutoPlay Media Studio 6.0
    Replies: 6
    Last Post: 05-15-2007, 01:22 PM
  3. Import data from a text file
    By StealthFD in forum AutoPlay Media Studio 5.0
    Replies: 1
    Last Post: 04-28-2004, 05:08 PM
  4. Reading Specific Lines from a Text File
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 09-26-2003, 10:38 AM
  5. Writing Text to a File
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 09-22-2003, 02:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts