osCmax v2.5 User Manual
Results 1 to 3 of 3

Database Script

This is a discussion on Database Script within the osCommerce 2.2 Discussion forums, part of the osCommerce 2.2 Forums category; (did request this on previous post but no-one answering) Shop database has cleared all data for some unknown reason. The ...

      
  1. #1
    Member
    Join Date
    Apr 2009
    Posts
    57
    Rep Power
    4


    Default Database Script

    (did request this on previous post but no-one answering)

    Shop database has cleared all data for some unknown reason. The tables are all still there - is there a script I can run in myphpadmin that can populate the tables to initial installation state so that I can actually access the admin site again and stop the errors on the front end due to no data in the tables?

    I don't want to change any of the PHP files, etc as many mods so hopefully the config files, etc won't need to be changed again. Any help on this please. Anyone - thanks.

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Database Script

    First, use phpmyadmin to take a fill sql backup of your existing db, just in case you have something left there that you want to keep.

    Then, look in the osCMax zip file - /install/osCMax.sql

    That file has all the default database settings. Either run the entire sql file through phpmyadmin, or edit the file and grab the sql that you want and run it piece by piece through phpmyadmin. See my reply to your other post.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    Default Re: Database Script

    Or use a backup copy of your database....You do backup your database? ---RIGHT!?!?
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

Similar Threads

  1. Run SQL Script from Admin
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 12-15-2008, 09:12 PM
  2. Insert Script
    By moreduff in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 02-25-2006, 08:41 PM
  3. install script NOT THERE!!
    By ReginaStelling in forum osCMax v1.7 Installation
    Replies: 4
    Last Post: 06-29-2004, 07:59 AM
  4. need help on installation script
    By Anonymous in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 11-27-2002, 08:17 PM
  5. No Install Script
    By ramonjaime in forum osCommerce 2.2 Installation Help
    Replies: 4
    Last Post: 11-13-2002, 04:02 PM

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
  •