Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Problems moving hosting
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problems moving hosting

 Post Reply Post Reply
Author
TBVillage View Drop Down
Groupie
Groupie


Joined: 12 June 2010
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote TBVillage Quote  Post ReplyReply Direct Link To This Post Topic: Problems moving hosting
    Posted: 12 June 2010 at 9:23am
Hi, I am in the process of moving our site to a new hosting company. Our forums are very busy, the database of messages is 244MB and we do about 1GB per day in bandwidth. I have set up the latest version of WebWizForums on the new host and it is working great on a new database. So everything is set up correctly. However, we are having problems connecting to the large database of messages.
 
The previous company zipped the database and it was downloaded to the new company. When the new company extracts the zipped file, they say they get the 244MB file. However, then they have problems:
 
"I tried to restore 1 sql file (the largest size) into your database, but still got the error message when tried to restore :

'dont mind the 600 win in the comp at $11 aswell<img src="http://www.thoroughbredvillage.com.au/forum/smileys/smiley17.gif" height="17" width="17" border="0" align="absmiddle" alt="T&#111;ngue" /><img src="http://www.thoroughbredvillage.com.au/forum/smileys/smiley36.gif" height="17" width="17" border="0" align="absmiddle" alt="LOL" />\r\n<DIV>go tha blakeodds.</DIV>', '2007-03-17 15:16:16', '203.54.28.28', -1, 0, NULL), (5701, 508, 57, 'his going to the bmw i believe, maybe that guy who was teasing u might have to apologise!! lol he might go the sydney cup, although he\'d have to much weight.', '2007-03-17 15:18:24', '203.54.28.28', -1, 0, NULL), (5702, 427, 3, 'Wow, thanks for that UpInClass!\r\n<DIV>&nbsp;</DIV>\r\n<
[Msg] Finished - Unsuccessfully
--------------------------------------------------

They suggest that the file is corrupt. However, the original hosting company state that the file is not corrupt because they have extracted it with no problems. We have also made a second copy and the same problems exist.
 
Does anyone have any ideas as to what is going wrong?? I definitely don't wish to start afresh on a new database as I can't ask 3000 members to start again! Any clues are much appreciated. Thanks.
 
 
 
Back to Top
123Simples View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Post Options Post Options   Thanks (0) Thanks(0)   Quote 123Simples Quote  Post ReplyReply Direct Link To This Post Posted: 13 June 2010 at 6:57pm
At a guess I'd say that the file had been corrupted
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 13 June 2010 at 7:52pm
What kind of DB?



Lead me not into temptation... I know the short cut, follow me.
Back to Top
TBVillage View Drop Down
Groupie
Groupie


Joined: 12 June 2010
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote TBVillage Quote  Post ReplyReply Direct Link To This Post Posted: 14 June 2010 at 1:50am
It's MySQL. It's working fine on the old hosting company, but when it's zipped and uploaded to the new company's server and extracted... they say it is corrupt. My next step is to ask if they can download the entire 244MB (without compacting it) and dump it in the correct folder. No zipping or unzipping, see if that works.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 14 June 2010 at 9:18am
I would suggest having a go at migrating the database yourself as long as both new and old host allow remote connections to your database.

The tool I often use for migrating mySQL databases is SqlYOG which has tools to allow you to migrate data between two different mySQL databases.

You may also be interested in our own forum hosting packages, for just £19.99 we can do the whole migration for you. For more details please see the page below:-

http://www.webwiz.net/webhosting/web_wiz_forums_hosting.asp
Back to Top
TBVillage View Drop Down
Groupie
Groupie


Joined: 12 June 2010
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote TBVillage Quote  Post ReplyReply Direct Link To This Post Posted: 20 June 2010 at 11:07pm
Thanks Bruce, very helpful. I set up SQLyog and successfully connected to the new server, but the administrator on the old server would not give me the IP address :(
 
Fortunately, the administrator pushed the data into the new databse himself and managed to transfer most (~90%) of the posts. It kept bailing out at the same point each time and he thought there may be a corrupted post or something, which may also have caused the problems in the straight copy we were doing. Anyway, it's up and running now and much faster (smiles all round).
 
However, smiles turned to frowns when the forums kept going down because of database connection issues.
 
Server Error in Forum Application
An error has occurred while connecting to the database.
Please contact the forum administrator.

Support Error Code:- err_mySQL_db_connection
File Name:- database_connection.asp

Error details:-
Microsoft OLE DB Provider for ODBC Drivers
[MySQL][ODBC 5.1 Driver]Too many connections
The first time it went down, he increased the number of connections and it was OK. Then yesterday it was down again with the same issue. He fixed it by further increasing the number of connections...
 
Apologize for the delay. I have increased the MySQL max_connection to 2,000 connection.
And please add your script to close the MySQL database connection everytime it is not used anymore. Thanks.

My questions are: What is the correct number of connections for an active forum? Secondly, does the script close the database correctly? Any thoughts on how I can prevent it going down so often?
Thanks in advance.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 21 June 2010 at 10:02am
Please see reply in your other topic on this issue:-

http://forums.webwiz.net/unstable-connection_topic28659.html
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.