Adding sample data with phpMyAdmin

For standard (non-Docker) installs. This adds made-up clients or patients, jobs, invoices and expenses so you can see how everything works. Your own records are never touched, and you can remove the sample data at any time.(to add sample data to docker easy-installs go here)

The sample records count towards the trial’s 10-record limit. Remove the sample data before you add your own, or delete a record or 2 or activate a licence to lift the limit

Before you start
Choose the file ending .sql. after opening the zip as it also holds .command and .bat files. Those are for the double-click method on Mac and Windows easy-installs with Docker, and phpMyAdmin can't read them. If you try, you'll see a "#1064" error mentioning #!/bin/bash. Nothing is changed when that happens, so just pick the right file and try again.
ProductTo add the sample dataTo remove it
CrystalSolutionssample_data_crystalsolutions.sqlremove_sample_data_crystalsolutions.sql
SoleTradersample_data_soletrader.sqlremove_sample_data_soletrader.sql
PraxisClinicsample_data_praxisclinic.sqlremove_sample_data_praxisclinic.sql
  1. Make a backup (optional but wise)

    In phpMyAdmin, click your database in the left-hand list, then click Export, choose Quick and SQL, and click Go. Keep the file somewhere safe.

  2. Select your database

    In the left-hand list, click the database your software uses. Pick the right one if you have several, because the sample file loads into whichever database is selected.

  3. Click Import and choose the file

    Click the Import tab at the top. Under "File to import", click Choose file and pick the sample_data_….sql file for your product.

    Leave Format: SQL and the other settings as they are.

  4. Click Import

    Scroll to the bottom and click Import. You should see a green message saying the import has finished successfully.

    If your host limits the upload size, open the SQL tab instead, paste the whole contents of the .sql file into the box, and click Go.

  5. Refresh your software

    Log in to your software and refresh the page. The sample clients (or patients), jobs, invoices and expenses are there.

    The SoleTrader Clients and Projects list showing eight sample clients.
    The client list now has eight sample clients.
    The SoleTrader Tax Summary page showing quarterly income and expenditure with a category breakdown.
    The Tax Summary shows quarterly income and spending, with the category breakdown.

Removing the sample data

Repeat steps 2 to 4, but choose the remove_sample_data_….sql file. Only the sample rows are removed. Anything you've entered yourself stays as it is. You can add the sample data again at any time, and running it twice doesn't create duplicates.

Questions

I got a red error message

Check that you chose a file ending .sql and the right database. If it still fails, note the error text, and ask on the support forum.

How do I know which rows are sample data?

Sample records use email addresses ending @sample.example.com, and their descriptions say "(sample)". Everything is made up.

I'm using the Docker easy install

There's a quicker one-click way. See Sample data on a Mac.

Remember: the sample data is made up. It isn't meant for a live practice or business, so remove it before you start entering your real records.