CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • What does "sourcing" mean in the installation instructions?
Pages: [1]

Author Topic: What does "sourcing" mean in the installation instructions?  (Read 2917 times)

phel0049

  • Guest
What does "sourcing" mean in the installation instructions?
April 07, 2008, 09:59:31 pm
I know how to navigate phpMyAdmin on a rudimentary level, but I don't understand what I'm supposed to do because I don't know what this word means.

The page is "Upgrade Joomla Sites to 2.0" at http://wiki.civicrm.org/confluence/display/CRMDOC/Upgrade+Joomla+Sites+to+2.0

The instructions say:
Quote
# Load the 1.9 table structure into this new database by sourcing civicrm/sql/civicrm_41.mysql (in your existing 1.9 codebase).

shell > mysql -u crm_db_username -pcrm_db_password civicrm19Fix < civicrm_41.mysql

# Dump the data ONLY from your existing 1.9 database to a file:

shell > mysqldump -u crm_db_username -pcrm_db_password -c -e -n -t civicrm19 > dumpFile

# Populate the new empty database with your data by sourcing the dumped file:

shell > mysql -u crm_db_username -pcrm_db_password civicrm19Fix < dumpFile

can you tell me what I need to do to "source" something?

Thanks
Marilyn

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: What does "sourcing" mean in the installation instructions?
April 08, 2008, 01:23:18 am

1. source basically means to run or load a sql file in your database

2. check these instructions out:

http://www.phpmyadmin.net/documentation/#faq6_5

if that is not helpful, you can do a search on: "phpmyadmin load sql file"

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • What does "sourcing" mean in the installation instructions?

This forum was archived on 2017-11-26.