Results 1 to 7 of 7

Thread: Deleting sample data

  1. #1
    Desmotech is offline Junior Member
    Join Date
    May 2006
    Posts
    3

    Default Deleting sample data

    Hi all,
    Is there an easy (fast) way of deleting the sample data that came with my installed version?
    Regards,
    Dave

  2. #2
    longreach Guest

    Default Re: Deleting sample data

    You have to re-run the installation, this time saying Drop Tables, and not asking it to install demo data. But you can just re-use the same database and database user name

  3. #3
    Desmotech is offline Junior Member
    Join Date
    May 2006
    Posts
    3

    Default Re: Deleting sample data

    Thanks Michael,
    I didn't have that level of control of the install as it was automatically installed by a single command from my hosts control panel.
    Is there a reset command availablefrom the admin panel within SugarCRM?
    Failing this I guess I'll have to edit the tables directly through MySQL or just delete the entries through SugarCRM.
    Regards,
    Dave

  4. #4
    longreach Guest

    Default Re: Deleting sample data

    Yes - if you cannot re-install (much preferred) - you are stuck with one of those choices.

  5. #5
    Desmotech is offline Junior Member
    Join Date
    May 2006
    Posts
    3

    Default Re: Deleting sample data

    Thanks again Michael,
    I won't waste any more time on looking for a shortcut. When I install for clients I'll make sure I do a manual install. I had a look at Info at Hand, a good looking product, well done. I will keep it in mind as a solution for clients.
    Regards,
    Dave

  6. #6
    malcolmh's Avatar
    malcolmh is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Aug 2004
    Posts
    1,712

    Default Re: Deleting sample data

    Quote Originally Posted by Desmotech
    Failing this I guess . . . . . . . . or just delete the entries through SugarCRM.
    Regards,
    Dave
    Be careful deleting from within SugarCRM, as only a soft delete is done (i.e. delete flag is set to 1 and the records are no longer visible in Sugar but are still in the DB).
    Cheers Malcolm

    Genius4U Limited - Ingenious simple IT solutions for you / Genial einfache IT Lösungen für Sie
    http://www.genius4u.com or http://www.genius4u.de

  7. #7
    Markku's Avatar
    Markku is offline Sugar Community Member
    Join Date
    Nov 2004
    Location
    Helsinki
    Posts
    910

    Default Re: Deleting sample data

    Quote Originally Posted by Desmotech
    Thanks Michael,
    I didn't have that level of control of the install as it was automatically installed by a single command from my hosts control panel.
    Even if you don't have that level of control in the first place, you can still try the following after the initial install:

    Edit your config.php file and change 'installer_locked' => true to 'installer_locked' => false

    Point your browser to http://yourserver.com/sugar/install.php

    This will start the installer again, you can re-create the tables and uncheck the option to install the demo data.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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
  •