If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Need help migrating phpbb MySQL database to a new host

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-17-05, 20:11
joaopiko joaopiko is offline
Registered User
 
Join Date: Feb 2005
Posts: 2
Arrow Need help migrating phpbb MySQL database to a new host

I am moving my website to a new host.

My old server runs: phpMyAdmin 2.6.1 and MySQL 4.1.7 - globat.com
My new server runs: phpMyAdmin 2.4.0 and MySQL 4.0.16 - ipowerweb.com

When I try to import the phpbb database using phpMyAdmin into the new host I get the following errors:

==================================
Database clubafri_phpBBForums running on localhost
Error

SQL-query :

CREATE DATABASE `phpBB-Forums` DEFAULTCHARACTER SET latin1 COLLATE latin1_swedish_ci

MySQL said:

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 'DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci' at line Back
==================================

I believe I am doing something wrong here. Could somebody give me a detailed procedure on how to go about this.

Here are some more details:

The old database name was: phpBB-Forums*
I created a new one on Ipowerweb named: clubafri_phpBBForums
then tried to import the db I had saved from *

Any help will be highly appreciated

Last edited by joaopiko; 02-17-05 at 20:21.
Reply With Quote
  #2 (permalink)  
Old 02-19-05, 07:27
Zamolxe Zamolxe is offline
Registered User
 
Join Date: Feb 2004
Location: Bucharest
Posts: 37
re

hello

your new server runs mysql 4.0.x which does not support CHARSET.

delete 'DEFAULT CHARACTER SET latin1 COLLATE..' from your database CREATE statements.

Serban
__________________
My Blog
Reply With Quote
  #3 (permalink)  
Old 02-20-05, 02:35
joaopiko joaopiko is offline
Registered User
 
Join Date: Feb 2005
Posts: 2
Thumbs up

I have no clue what you are talking about ....never dealt with databases before bit I will check to see if I can do it.

Thanks for your help!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On