Results 1 to 10 of 10

Thread: Removing Demo data from V6.0 SQL stack

  1. #1
    LuckiestBoy is offline Sugar Community Member
    Join Date
    Jun 2010
    Posts
    64

    Default Removing Demo data from V6.0 SQL stack

    Well having struggled with SugarCRM CE (MySQL) FastStack for a month, I went for SQL Stack.

    Nothing wrong with MySQL but I just could not restore a back up ...would have been risky in the long run to stay with MySQL..

    MS_SQL seems to be more responsive and backups ...restore. So far so good. Now to headache. I installed it twice (thinking maybe I ticked the wrong thing). I definitely told it NOT to install demo data but it still did.

    I want to remove demo data completely but am left with Case numbers that start at 51, 500 User Feeds that I can delete one be one and then there are users and employees. It's like moving into a new house that still has Aura from previous occupants.

    I tried creating another database and edit config.php but that gives me the error "You can only use version 6.0.0 data files with SugarCRM 6.0.0

    Any idea how I can flush demo data or create another database to use, please.

  2. #2
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: Removing Demo data from V6.0 SQL stack

    1. Restoring a MySQL backup is as easy as creating it. Rename your old database, create a new empty one with the old name, select it, click import and choose your (sql) backup file. That's it. Of course you should be using phpmyadmin which comes with the stack installer.

    2. Provided you want to start from scratch with your existing version: edit your config.php and set the line "installer locked" from true to false. Then call Sugar as usual and you will be presented with the web installer screen. Follow the instructions on the screen. If you choose the same database name you will receive a warning that your old data will be overwritten but this is what you want I guess.
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

  3. #3
    LuckiestBoy is offline Sugar Community Member
    Join Date
    Jun 2010
    Posts
    64

    Default Re: Removing Demo data from V6.0 SQL stack

    Thanks Roblaus. I tried both.

    1 - used phpmyadmin and that gives me a syntax error. Posted a question re this but no replies yet.

    2 - Even when I tell MSSQL stack to not install Demo data, it installs it and I am still trying to figure out how to fluch it out. Manual deleted most entries but users remain. So, wiping out just gives me same data again. That I suppose is Bill Gates' revenge or spike for having to give it away free.

    Backup/Restore works without a hitch after spending few hours in their forum

  4. #4
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: Removing Demo data from V6.0 SQL stack

    Did you do what I told you? Change the config.php and run the web installer? I have done this a couple of 100 times with and without demo data and it definitely works.
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

  5. #5
    LuckiestBoy is offline Sugar Community Member
    Join Date
    Jun 2010
    Posts
    64

    Default Re: Removing Demo data from V6.0 SQL stack

    I did that (2) this evening.

    Installation said it could not attach to port 80 and 443 - incremented both by 1 it installed another SQL caboodle instance and came with error half way through intallation

    "Error copying file from D:/sugarcrm-6.0.0/php/ntwdblib.dll to D:/sugarcrm/apache2/bin.ntwdblib.dll"

    I gave in the end.

    Is there another way of creating a database. Then I could create a new one and delete the demo. I tried creaing one in SQL2005/Express but when I cam to open it, it said something to the effect that I could only data 6.0.0. with sugarCRM 6.0.0 or something very similar.

  6. #6
    LuckiestBoy is offline Sugar Community Member
    Join Date
    Jun 2010
    Posts
    64

    Default Re: Removing Demo data from V6.0 SQL stack

    Most of the evening gone into early hours of Friday.

    I reinstalled SugarCRM 6 CE SQL Server stack. Created another database and named is sugarcrm_db and then tried all kinds of things to fool sugar. But no luck. I get the errors;

    First time it says unable to select database and send time onwards it says;

    "Sugar CRM 6.0.0 Files May Only Be Used With A Sugar CRM 6.0.0 Database"

    What the hell, I created database in 6.0.0!!

    Any thoughts as to how I could create a new database? Thanks in advance

  7. #7
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: Removing Demo data from V6.0 SQL stack

    Sorry if I can't be of any further help. You may want to consult a professional somewhere in your area.
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

  8. #8
    LuckiestBoy is offline Sugar Community Member
    Join Date
    Jun 2010
    Posts
    64

    Default Re: Removing Demo data from V6.0 SQL stack

    Thanks jsut the same. This demo data is like a leech.

  9. #9
    LuckiestBoy is offline Sugar Community Member
    Join Date
    Jun 2010
    Posts
    64

    Smile Re: Removing Demo data from V6.0 SQL stack

    Managed to wipe it off. Here is the low down. Applicable to MSSQLstack

    BACK IT UP FIRST - I didn't and had to many installs

    1. Open SQL Server Management Studio Express
    2. Right click database > New Query
    3. type
    delete accounts
    delete contacts
    delete leads
    delete ........
    delete whatever else
    DO NOT TYPE delete users or you will delete admin as well
    I am sure there is a way of creating admin account but you need to know schema and certificate etc and I didn't. Sorry I am not a programmer and I cant can't afford to hire one http://www.sugarcrm.com/forums/images/smilies/smile.gif

    4. Execute

    WARNING: For users - Open table - right click delete i- ndividual users
    If you make a mistake keep your fingers crossed, restore from backup.and start again. And Good Luck.

  10. #10
    trehman is offline Junior Member
    Join Date
    Aug 2007
    Posts
    1

    Default Re: Removing Demo data from V6.0 SQL stack

    I deleted all demo data by going into list view and selecting "ALL". Except for Employees, that is. Guess Sugar does not let you do that.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Stack Installer Always Imports Demo Data
    By surfkook in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2010-05-04, 11:34 AM
  2. Removing demo data after installation
    By PatFerrik in forum Installation and Upgrade Help
    Replies: 3
    Last Post: 2010-02-26, 02:26 PM
  3. Removing Demo Data
    By GlobalEarthmoving in forum Help
    Replies: 2
    Last Post: 2008-12-04, 06:49 PM
  4. Removing Demo Data
    By drewgainor in forum Help
    Replies: 2
    Last Post: 2005-11-23, 01:15 PM
  5. removing demo data
    By rcolman in forum Help
    Replies: 2
    Last Post: 2005-08-02, 06:13 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
  •