Copying a website from localhost to a remote host

From Joomla! Documentation

Revision as of 08:47, 19 October 2008 by Zimpete (Talk | contribs)

In section #3. Copy custom files from your local site to your remote site:

In the sentence ...."configuration.php". No NOT replace this file on your host....... be ""configuration.php". Do NOT replace this file on your remote host...."

OnTheMarkDesign 02:50, 13 October 2008 (EDT)

Yes. Fixed now. Thanks for reporting it. Chris Davenport 06:28, 13 October 2008 (EDT)

Copy the contents of your local MySQL database to the host MySQL database - an alternate way

When running Linux as I, use a convienient and fast way with mysqldump command. Open a terminal/shell to export database to databasename_date file.

machine: mysqldump -u username -p databasename >databasename_date Give the username password. username is normally "root".

To import to a remote mysql server you use mysql command:

machine: mysql -u remoteusername -p -h removemysqlservername remotedatabasename <databasename_date

Note that when importing you overwrite all tables within export file in database remotedatabasename. If you want to have a special table prefix other that standard "jos", you have to edit the exported file before importing.

Zimpete 10:47, 19 October 2008 (EDT)