Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > General Hosting/Server Discussions

Reply
 
Thread Tools
MYSQL database to a separate server Details »»
MYSQL database to a separate server
Version: , by Kihon Kata Kihon Kata is offline
Developer Last Online: May 2014 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 12-03-2006 Last Update: Never Installs: 0
 
No support by the author.

How hard is it to move one's MYSQL database to a separate server?

I am interested in doing this:

1 separate server everything else connected to the db
1 separate server Mysql databases

Any thoughts and/or help files on how this could help a server with slow loading times and higher than normal loads.

Thanks in advance

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 12-04-2006, 04:11 AM
UltimateOreo! UltimateOreo! is offline
 
Join Date: Nov 2006
Location: Missouri
Posts: 462
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i highly doubt you can without some heavy code editing. I dont think its even possible.
Reply With Quote
  #3  
Old 12-04-2006, 04:23 AM
Kihon Kata Kihon Kata is offline
 
Join Date: Nov 2003
Posts: 763
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by UltimateOreo! View Post
i highly doubt you can without some heavy code editing. I dont think its even possible.
LOL, really? This forum that you are on right now, runs a separate DB server

HELLO?? :P
Reply With Quote
  #4  
Old 12-04-2006, 04:24 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You just need to transfer the database to the new server, then change the DB access details in config.php to reflect the changes.
Reply With Quote
  #5  
Old 12-04-2006, 08:28 PM
jason|xoxide jason|xoxide is offline
 
Join Date: Jul 2006
Location: Exton, PA
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As was already said, it's pretty easy. Just use mysqldump to backup the DB from the first server, use FTP or scp to transfer it to your new server, and then restore it. Make sure that when you create your new mysql user that you give it the ability to connect from a remote server, otherwise your board won't work.
Reply With Quote
  #6  
Old 12-12-2006, 09:35 PM
Ntfu2 Ntfu2 is offline
 
Join Date: Feb 2006
Posts: 1,247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by UltimateOreo! View Post
i highly doubt you can without some heavy code editing. I dont think its even possible.
I dont think i'd post much more unless you know what you're talking about.

Its simple. All you have to do is.

1. Get MySQL server and make sure to install MySQL on it.
2. Shut your forum off.
3. Backup your database
4. Move your back up to new host
5. restore it. Give it a db user and the correct permissions
6. edit /includes/config.php and enter the IP address where it says localhost

If you use this configuration, you should check with your hosting company to make sure you get free private bandwidth. It consumes boatloads of bandwidth and will rackup your bill if you don't get free private bandwidth.
Reply With Quote
  #7  
Old 12-12-2006, 10:38 PM
Kihon Kata Kihon Kata is offline
 
Join Date: Nov 2003
Posts: 763
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Ntfu and others. I own the servers so, I would have to check with myself LOL.

Anyhow, I fixed my issue for now. I was running the wrong kernel and it wasn't loading up to run on both my processors. But now it is

Thanks and I may still do this soon.
Reply With Quote
  #8  
Old 12-13-2006, 04:54 PM
Ntfu2 Ntfu2 is offline
 
Join Date: Feb 2006
Posts: 1,247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your welcome.

Its a huge performance increase when its done right. I've got it running like this on one of my sites and its awesome :yesway:
Reply With Quote
  #9  
Old 12-13-2006, 06:33 PM
Kihon Kata Kihon Kata is offline
 
Join Date: Nov 2003
Posts: 763
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh ok. Which server would need to be beefier? The DB or the HTTP server?


Quote:
Originally Posted by Ntfu2 View Post
Your welcome.

Its a huge performance increase when its done right. I've got it running like this on one of my sites and its awesome :yesway:
Reply With Quote
  #10  
Old 12-13-2006, 08:14 PM
Ntfu2 Ntfu2 is offline
 
Join Date: Feb 2006
Posts: 1,247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

DB server.

I have mine with 4GB of ram 73SCSI drives in Raid 1+0 with a low end AMD for processor power and it handles quite a few requests just fine . loads never above 1 on that machine
Reply With Quote
Reply

Thread Tools

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 On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:29 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04497 seconds
  • Memory Usage 2,283KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete