Results 1 to 2 of 2

sql contribution files and phpMyAdmin

This is a discussion on sql contribution files and phpMyAdmin within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; OK, I've downloaded some contributions that don't come with any instructions - only sql files. (I'm talking about UK_all_zones-1.0 which ...

      
  1. #1
    New Member
    Join Date
    Feb 2003
    Posts
    20
    Rep Power
    0


    Default sql contribution files and phpMyAdmin

    OK, I've downloaded some contributions that don't come with any instructions - only sql files.

    (I'm talking about UK_all_zones-1.0 which has the file uk_zones.sql).

    So, assuming that I need to somehow get this into my database through phpMyAdmin I first open phpMyAdmin.

    Problem is from WHERE exactly do I Run this sql query (or Browse the Location of the textfile)? First I select my Catalog database and select the SQL - I seem to be able to do it there, but since this is a ZONES file I wonder if I should select the table 'zones' (Database catalog - Table zones running on localhost) then select the SQL tab and run it from there???


    Also, I having problems 'Browsing' the location of the sql textiles. Can I open this sql textfile in bbedit and copy and paste it into the field which says 'Run SQL query/queries on database catalog' ??? Is this normal practice?

  2. #2
    Member
    Join Date
    Nov 2002
    Location
    Pennsylvania
    Posts
    93
    Rep Power
    0


    Default

    You pretty much have it.

    The only thing, select the database, then copy from bbedit then paste into your sql query/queries then the sql will insert into the correct tables, if there are any errors it will tell you.

    You dont need to select zones or any other table.

    This is normal practice for me. and I manage over 50 databases
    There\'s something about fireman, day and night they are always fireman!

Similar Threads

  1. Orders and Customers through PHPMyAdmin- not in Admin
    By kenlyle in forum osCMax v2 Features Discussion
    Replies: 0
    Last Post: 11-06-2006, 09:32 AM
  2. files under ssl
    By mrocket in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 04-28-2006, 01:30 PM
  3. Oscommerce installation/phpmyadmin
    By tailormadepc in forum osCommerce 2.2 Installation Help
    Replies: 3
    Last Post: 10-07-2004, 06:30 PM
  4. How do I edit these files?
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 08-03-2004, 02:18 PM
  5. exporting osC database using phpMyAdmin
    By Rodland in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 04-10-2003, 10:58 AM

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
  •