Welcome to Welcome to DNF.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars

If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.

Register Today on DNForum IT'S FREE!

Results 1 to 13 of 13
  1. #1
    Administrator
    Adam Dicker's Avatar
    Join Date
    Feb 2003
    Location
    Toronto, Canada
    Posts
    16,144
    Blog Entries
    1
    Country

    Canada Follow Adam Dicker On Twitter Add Adam Dicker on Facebook
    DNF$
    8,430,650
    Bank
    0
    Total DNF$
    8,430,650
    Donate  

    How do I open and sql file on my desktop?

    I have old backed up .sql files that I want to open and read the data.

    Can I do this with excel or some tricky converter software?

    thanks for the help,

    -=DCG=-

  2. #2
    DNF Member

    Join Date
    Oct 2003
    Posts
    665
    DNF$
    3,986
    Bank
    0
    Total DNF$
    3,986
    Donate  
    You will need some sql software. The smallest one I know of for windows is sqlite. However a quick look round shows an addon for excel at http://www.sqldrill.com/ - that looks like it'll do it.
    Search hundreds of thousands of expired .co.uk domains and view 30 day co.uk droplists at http://www.domainview.co.uk

  3. #3
    Dances With Dogs
    Gerry's Avatar
    Join Date
    Dec 2006
    Location
    PortaPotty
    Posts
    17,859
    Country

    Trinidad Tobago
    DNF$
    23,014
    Bank
    0
    Total DNF$
    23,014
    Donate  
    Ask a hacker.

    "Just a lot of embarrassment, embarrassed to be part of group of domainers who would do this to their fellow man.",
    Condemnation of Mobee boys and investors by our precious Mother Theresa of Domaindom

  4. #4
    DNF Addict
    south's Avatar
    Join Date
    Dec 2006
    Location
    33143/04930
    Posts
    4,995
    DNF$
    8,202
    Bank
    0
    Total DNF$
    8,202
    Donate  
    Depends on what you mean by "read". Notepad will open them for you to view the raw text.

    It also depends on what type of sql database it was.

    For mysql I like toad

    Another option would be create a database on a server and just put it there to look at, either with with toad, webmin, phpmyadmin, etc..
    All offers good for 72 hours except running auctions

    Progeria Research | Pulmonary Fibrosis | Dammit!

  5. #5
    JuniperPark's Avatar
    Join Date
    Aug 2003
    Location
    San Diego, CA
    Posts
    3,154
    DNF$
    5,974
    Bank
    0
    Total DNF$
    5,974
    Donate  
    I only work with MsSQL, but the .SQL files are just text. It's a set of SQL commands, usually opened in SQL Analyzer for testing and execution.
    The only domain reseller BRAVE enough to post prices: TheNameStore.com ][

  6. #6
    Country hopper
    katherine's Avatar
    Join Date
    Jul 2005
    Location
    Free World
    Posts
    7,499
    Country

    Iceland
    DNF$
    30,536
    Bank
    0
    Total DNF$
    30,536
    Donate  
    Best is to create a DB on a server using whichever SQL platform the file belongs to (mysql ?), import the data, then browse with phpmyadmin or export to excel.
    NameNewsletter.com - free lists of available domain names
    ZoneFiles.net (beta) - ccTLD and gTLD droplists

  7. #7
    Platinum Lifetime Member
    whitebark's Avatar
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    3,326
    Country

    Canada
    DNF$
    3,226
    Bank
    0
    Total DNF$
    3,226
    Donate  
    Any software that can read a .txt file can read a .sql file.

  8. #8
    Exclusive Lifetime Member
    tekz999's Avatar
    Join Date
    Jun 2003
    Posts
    6,543
    Blog Entries
    2
    Country

    Hong Kong
    DNF$
    84,357
    Bank
    0
    Total DNF$
    84,357
    Donate  
    I have the king of the world solution: Notedpad.exe

    Solved.

  9. #9
    Krossat
    krossat's Avatar
    Join Date
    Jun 2007
    Location
    krossat.com
    Posts
    1,080
    Country

    New Zealand
    DNF$
    590
    Bank
    0
    Total DNF$
    590
    Donate  
    are you sure it is a .sql file?
    As .sql files carry the sql code and not data. you run the .sql file commands on a compatible database application. do you also have .dat files or any other accompanying files with the .sql files?

    Quote Originally Posted by DotComGod View Post
    I have old backed up .sql files that I want to open and read the data.

    Can I do this with excel or some tricky converter software?

    thanks for the help,

    -=DCG=-
    <<< Krossat's Blog: Attachment to Some Domains >>>
    <<< CloudNavigate.com | Image-Gallery.com | DesignClouds.com | AAYU.com | DietChips.com >>>

  10. #10
    þórr mjǫlnir
    draggar's Avatar
    Join Date
    Dec 2007
    Location
    South Florida
    Posts
    12,874
    Country

    Czech Republic
    DNF$
    6,974
    Bank
    116,559
    Total DNF$
    123,533
    Donate  
    Quote Originally Posted by south View Post
    Depends on what you mean by "read". Notepad will open them for you to view the raw text.

    It also depends on what type of sql database it was.

    For mysql I like toad

    Another option would be create a database on a server and just put it there to look at, either with with toad, webmin, phpmyadmin, etc..
    Yep, Notepad is OK, Excel is good for it, too (I'm sure the Open Office equivalents will work, too).
    Save the wolves - join The Wolf Army today!
    Please follow the rules or suffer the wrath of Thor's Hammer.

  11. #11
    DNF Member

    Join Date
    Oct 2003
    Posts
    665
    DNF$
    3,986
    Bank
    0
    Total DNF$
    3,986
    Donate  
    depends what type of sql file it is. Not all sql files can be read in a text editor - mysql databases for example. If it's just a list of the actual SQL dump then it's ok - however the compiled/compressed database won't be text-readable.
    Search hundreds of thousands of expired .co.uk domains and view 30 day co.uk droplists at http://www.domainview.co.uk

  12. #12
    Formerly 'aZooZa'
    Dale Hubbard's Avatar
    Join Date
    Jan 2003
    Location
    UK Expat in CN
    Posts
    6,239
    Country

    England Follow Dale Hubbard On Twitter
    DNF$
    3,127
    Bank
    0
    Total DNF$
    3,127
    Donate  
    cat file.sql |less

    or even

    less file.sql

    or if compressed

    gzip -d file.sql.gz
    less file.sql

    'less' will give you an error warning if the file's binary

    sorry - this is Linux - not Win
    Last edited by Dale Hubbard; 06-03-2011 at 04:47 AM.

  13. #13
    Platinum Lifetime Member

    Join Date
    Mar 2004
    Location
    here
    Posts
    169
    DNF$
    633
    Bank
    0
    Total DNF$
    633
    Donate  
    I used wordpad, more organize.

Bookmarks

Posting Permissions

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

Domain name forum recommended by Domaining.com