Startseite Beiträge von Heute Kalender Boardsuche Benutzerliste FAQ Deine Einstellungen ändern Neue Beiträge
Navigation
Go Back   Mambo / Joomla Hosting Talk (MHT/JHT) > Hosting Forums > Tutorials/HOW-TOs/FAQ
User Name
Password
Reply
 
Thread Tools Display Modes

  #1  
Old 04-08-2005, 10:11 AM
keliix06 keliix06 is offline
Administrator
 
Join Date: Mar 2005
Location: Minneapolis, MN
Posts: 394
Default Moving Mambo

There are a lot of posts around Mambo land asking how to move your Mambo site. Today I will explain how to move your Mambo site from one host to another, however this same method can be used to move Mambo from a local install to a server or from one folder on your server to another.

Step 1: Download all files from your server to your computer. Be sure to keep the folder structure.

Step 2: Create a database backup using a tool like phpMyAdmin and save it to your computer.

Step 3: Upload all files from your computer to you new server. Remember to set the appropriate permissions.

Step 4: Create a database on your new server and upload your backup using phpMyAdmin.

Step 5: Change all relevant lines in configuration.php. These lines should include: $mosConfig_host, $mosConfig_user, $mosConfig_password, $mosConfig_db, $mosConfig_absolute_path, $mosConfig_live_site and $mosConfig_cache_path.

Your new Mambo site should now be up and running. Enjoy!
__________________
Doyle Lewis - BuyHTTP Internet Services
keliix06 [at] gmail.com
Reply With Quote
  #2  
Old 04-14-2005, 06:48 AM
ufo's Avatar
ufo ufo is offline
Junior Member
 
Join Date: Apr 2005
Location: Romania
Posts: 14
Lightbulb A small addition...

Something that you sould do if you have a big database:

-Try to backup your database in small steps (more smaller files) because if you have a big database it could give you errors (or timeouts) on uploading it to the new server.
-For the people using TFS 4 Mambo please note that the table "IP to country" is really BIG so you must back it up separatly and when injecting into MySQL try to make smaller parts about 5-6000 queries.
Reply With Quote
  #3  
Old 07-10-2005, 04:38 AM
elysianhosting elysianhosting is offline
Junior Member
 
Join Date: Jun 2005
Posts: 1
Default

I'd also like to add my experiences. I moved a site from a sub directory to the root directory using a simple mv command. In my case the .htaccess wasn't moved, and so I got strange problems with the menu links not working. Just be wary of that
Reply With Quote
  #4  
Old 07-22-2005, 07:38 PM
gtg gtg is offline
Junior Member
 
Join Date: Jul 2005
Posts: 3
Default Re

the same has just happened to me . uploaded .htaccess file and everything is working fine.
thanks
Reply With Quote
  #5  
Old 10-22-2005, 10:01 AM
zalun zalun is offline
Junior Member
 
Join Date: Oct 2005
Posts: 1
Exclamation Problem: moving mambo to other MySQL version

I have a problem with moving mambo from mysql 4.0.20 to 5.0

mysqldump to file wich I send to PHPMyAdmin.

This query
Code:
-- -- Table structure for table `mos_components` -- CREATE TABLE mos_components( id int( 11 ) NOT NULL AUTO_INCREMENT , name varchar( 50 ) NOT NULL default '', link varchar( 255 ) NOT NULL default '', menuid int( 11 ) unsigned NOT NULL default '0', parent int( 11 ) unsigned NOT NULL default '0', admin_menu_link varchar( 255 ) NOT NULL default '', admin_menu_alt varchar( 255 ) NOT NULL default '', OPTION varchar( 50 ) NOT NULL default '', ordering int( 11 ) NOT NULL default '0', admin_menu_img varchar( 255 ) NOT NULL default '', iscore tinyint( 4 ) NOT NULL default '0', params text NOT NULL , PRIMARY KEY ( id ) ) TYPE = MYISAM
returns an error:

Code:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'option varchar(50) NOT NULL default '', ordering int(11) NOT N
It looks like on new database I cannot use field with the name "option" ...

please help
Reply With Quote
  #6  
Old 11-06-2005, 03:20 PM
A2BHOSTING A2BHOSTING is offline
Junior Member
 
Join Date: Oct 2005
Posts: 2
Default

good tutorial!
Reply With Quote
  #7  
Old 11-06-2005, 07:19 PM
keliix06 keliix06 is offline
Administrator
 
Join Date: Mar 2005
Location: Minneapolis, MN
Posts: 394
Default

Quote:
Originally Posted by zalun
I have a problem with moving mambo from mysql 4.0.20 to 5.0

mysqldump to file wich I send to PHPMyAdmin.

This query
Code:
-- -- Table structure for table `mos_components` -- CREATE TABLE mos_components( id int( 11 ) NOT NULL AUTO_INCREMENT , name varchar( 50 ) NOT NULL default '', link varchar( 255 ) NOT NULL default '', menuid int( 11 ) unsigned NOT NULL default '0', parent int( 11 ) unsigned NOT NULL default '0', admin_menu_link varchar( 255 ) NOT NULL default '', admin_menu_alt varchar( 255 ) NOT NULL default '', OPTION varchar( 50 ) NOT NULL default '', ordering int( 11 ) NOT NULL default '0', admin_menu_img varchar( 255 ) NOT NULL default '', iscore tinyint( 4 ) NOT NULL default '0', params text NOT NULL , PRIMARY KEY ( id ) ) TYPE = MYISAM
returns an error:

Code:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'option varchar(50) NOT NULL default '', ordering int(11) NOT N
It looks like on new database I cannot use field with the name "option" ...

please help
OPTION is a reserved phrase in MySQL. if you change

Code:
OPTION
to

Code:
'OPTION'
It should work for you. You will probably run in to problems with mos_content.fulltext as well.
__________________
Doyle Lewis - BuyHTTP Internet Services
keliix06 [at] gmail.com
Reply With Quote
  #8  
Old 11-07-2005, 10:11 AM
Mr.Dontknowmuch Mr.Dontknowmuch is offline
Junior Member
 
Join Date: Oct 2005
Posts: 15
Default How do I back up my database....

Yes this is very helpful, but I'm a little confused on how to back up my database. I'm using xampp, but when I go to phpadmin, I dont see an option to back up the database. Does anyone know how to do this in PhpMyAdmin? thank you.

Mr.DKM
Reply With Quote
  #9  
Old 11-09-2005, 03:31 PM
Mr.Dontknowmuch Mr.Dontknowmuch is offline
Junior Member
 
Join Date: Oct 2005
Posts: 15
Default

I guess I'm stuck at step 4. I dont know how to upload the database in phpMyAdmin on yahoo. I also dont know how to back it up on my machine.
We're getting there though. Thanks again.

Mr.DontKnowMuch
Reply With Quote
  #10  
Old 11-11-2005, 10:33 AM
Mr.Dontknowmuch Mr.Dontknowmuch is offline
Junior Member
 
Join Date: Oct 2005
Posts: 15
Default

anyone? gosh i just need to get this installed on the yahoo server. I dont know how to do it and there's nothing in yahoo about mambo. I just need to get it installed. I go to my ftp and open up http://www.demarccreations.com/insta...n/install1.php

this finally takes me to installation of mambo.

thing is i'm not sure what to enter here. It keeps saying I have incorrect user name or password. thanks.

Mr.DKM
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 05:17 AM.

Home . Members . FAQ . User CP . New Posts . Today's Posts . Media Kit
 
Joomla Top Sites - Your Primary Source of Joomla Traffic
Web Hosting . Mambo Tutorials . Joomla Hosting . Mambo Hosting . Joomla Top Sites . Joomla Advertising . Web Hosting Flash Tutorials . Joomla & Mambo Freelancers . Joomla Template Providers
Powered by vBulletin - Based on design by vbdesigns.de - © 2005 - 2006 by BuyHTTP Internet Services
Top Top
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.