<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Herself&#039;s Webtools &#187; errors</title>
	<atom:link href="http://herselfswebtools.com/tag/errors/feed" rel="self" type="application/rss+xml" />
	<link>http://herselfswebtools.com</link>
	<description>Scripts, HowTos, Templates, Plugins, Widgets, Tips</description>
	<lastBuildDate>Fri, 18 Nov 2011 15:47:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>How to move Coppermine to a new server</title>
		<link>http://herselfswebtools.com/2008/04/moving-coppermine-to-a-new-server.html</link>
		<comments>http://herselfswebtools.com/2008/04/moving-coppermine-to-a-new-server.html#comments</comments>
		<pubDate>Mon, 14 Apr 2008 11:00:59 +0000</pubDate>
		<dc:creator>Linda MacPhee-Cobb</dc:creator>
				<category><![CDATA[coppermine]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[errors]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[permission]]></category>

		<guid isPermaLink="false">http://herselfswebtools.com/?p=198</guid>
		<description><![CDATA[I&#8217;ve known for a few months I needed to move to another hosting company but I kept putting it off because the thought of redoing all the Coppermine stuff horrified me. It turned out to be pretty easy. OK after 4 hours of going in circles I now know how to do it and it [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve known for a few months I needed to move to another hosting company but I kept putting it off because the thought of redoing all the Coppermine stuff horrified me.</p>
<p>It turned out to be pretty easy.  OK after 4 hours of going in circles I now know how to do it and it is easy now.</p>
<p><strong>Backup old stuff:</strong><br />
Download your entire Coppermine directory from your old host to your home computer.  This may take a while if you have lots of pictures.</p>
<p>Using whatever tools your webhost provides backup and download your Coppermine MySQL database.  Most hosts use phpMyAdmin.  If you have that available select your Coppermine database; Select Export; Select Save as file; Give it a file name ( template ) and download it with no compression.</p>
<p><strong>Upload to new server:</strong><br />
Upload your entire Coppermine directory to your new webhost ( this may take a while )</p>
<p>Create a new database for Coppermine on your new host using what ever tools the host provides.  Write down your user name, database name, and server if it gives you a server name.  ( Most of the time it will be on the same server and you will just use localhost. )</p>
<p>Import the old database to the new database.  If you are using phpMyAdmin, select the database; Select Import; chose the file and upload.</p>
<p>If you get permissions errors from MySQL while importing your data base try this: On your computer open your database backup you downloaded in a text editor.  It is a plain text file you can easily work with it. ( Make a copy first of course! ) Remove every thing until the lines<br />
&#8211;<br />
&#8211; Table structure for table &#8216;cpg_albums&#8217;<br />
&#8211;<br />
Leave those lines and every thing after them in the file but remove the lines before that.  The user name, database, CREATE DATABASE etc are all what is causing the permissions problem.  Dump the lines below &#8211; yours will be slightly different.</p>
<p>&#8211; phpMyAdmin SQL Dump<br />
&#8211; version 2.9.1.1<br />
&#8211; http://www.phpmyadmin.net<br />
&#8211;<br />
&#8211; Host: 10.6.255.255<br />
&#8211; Generation Time: Mar 11, 2008 at 02:06 PM<br />
&#8211; Server version: 4.1.22<br />
&#8211; PHP Version: 4.4.4<br />
&#8211;<br />
&#8211; Database: `her0731003345419`<br />
&#8211;<br />
CREATE DATABASE `her0731003345419` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;<br />
USE `her0731003345419`;</p>
<p>&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>&#8211;<br />
&#8211; Table structure for table `cpg_albums`<br />
&#8211;</p>
<p>It took me several hours to find that information. It is not well documented anywhere.  The rest of the move was painless.</p>
<p>The last thing you have to do now is to change your user name, host and database name in your config.inc.php file to use your new database.  You&#8217;ll find this file in Coppermine/includes.  Just edit the entries and remove your old user name, password and host and enter your new password, host and database name.</p>
]]></content:encoded>
			<wfw:commentRss>http://herselfswebtools.com/2008/04/moving-coppermine-to-a-new-server.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

