Results 1 to 5 of 5
02-17-2005, 08:28 PM #1
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 - ******.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
CREATE DATABASE `phpBB-Forums` DEFAULTCHARACTER SET latin1 COLLATE latin1_swedish_ci
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
02-17-2005, 08:35 PM #2
I'll be honest, I think your best bet may be to ask the phpBB experts on www.phpbb.com support forum.
02-17-2005, 09:24 PM #3
That's the place I went to first.
I followed their instructions but to no avail. Then I tried phpbbhacks.com. They too gave me similar instructions resulting in the same errors.
Next, I contacted Ipowerweb ....I have been waiting for an answer for two days!
I have looked around in several forums and now I am here. I am begining to think the problem is due to the fact that in moving to Ipowerweb, I am moving a notch lower in terms of MySQL versions ......I am not really sure about this ....
02-18-2005, 08:16 AM #4
Its quite possible. When moving from lower->higher it tends to be a very graceful move. However, no DB is ever designed to moved higher->lower.
Might be worth asking the new host if they are willing to upgrade mysql. Loads of cool stuff in mysql4, I cant live without UNION for example.
02-20-2005, 11:19 PM #5
I will try that .....but it probably means shutting down a server with several websites running on it .....If they were planning to do so they just might agree, but I think it's a long shot. Makes me wonder therefore, what they are going to do about it ......They contacted me and said they were working on it.
Here is what somebody suggested on another forum:
your new server runs mysql 4.0.x which does not support CHARSET.
delete 'DEFAULT CHARACTER SET latin1 COLLATE..' from your database CREATE statements.
I need a crash course on this database stuff ...it's one area I have ignored for many years. I think time is ripe to hit the books!
Last edited by joaopiko; 02-20-2005 at 11:23 PM.