|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
would a db work & function on one host while site on the other??
If I move a site to another host, & the mysql databases are still on the old host, but I don't change the mysql info in the script when I move it, will it still run off the old host til I ca figure out how to move it...
several people told me how to do it, but it's not working... |
|
|
|
|
|
#2 |
|
Confirmed User
Join Date: Oct 2002
Location: New Jersey - adaptweb at gmail.com
Posts: 3,127
|
different hosting companies or a different box with the same hosting company? if its a diff hosting company, i would think you would take a performance hit
__________________
self made mothafucka. buying premium domains & developed sites with revenue/traffic -> adaptweb at gmail.com
|
|
|
|
|
|
#3 |
|
Too lazy to set a custom title
Industry Role:
Join Date: Dec 2004
Location: Happy in the dark.
Posts: 94,232
|
Good question... i'm going to try that.
__________________
Vacares - Web Hosting, Domains, O365, Security & More - Paxum and BTC Accepted Windows VPS now available Great for TSS, Nifty Stats, remote work, virtual assistants, etc. |
|
|
|
|
|
#4 |
|
Confirmed User
Join Date: May 2005
Posts: 2,737
|
Any time your database is across a network, you suffer a major performance hit.
|
|
|
|
|
|
#5 |
|
I like Dutch Girls
Join Date: Feb 2003
Location: dutchteencash.com
Posts: 21,684
|
same network yes thats possible did that
__________________
![]() ICQ 16 91 547 - SKYPE dutchteencash bob AT dutchteencash DOT com ... did you see our newest Sweet Natural Girl Priscilla (18)? |
|
|
|
|
|
#6 |
|
HAL 9000
Industry Role:
Join Date: May 2001
Posts: 34,515
|
of course
|
|
|
|
|
|
#7 |
|
Registered User
Industry Role:
Join Date: Mar 2006
Location: North Pole
Posts: 82
|
depends on how you had it set up originally; if your original database settings were absolute (eg using the actual internet-reachable name of the server hosting the database), then the lookups would still work when the site and scripts were moved to another box. However, people almost never do this, and instead use "localhost" as the name of the database server when situated on the same box. This is done for convenience purposes, as well as to avoid dns lookups of a FQDN that is in reality located on the same box.
As mentioned above, you will get a performance hit on lookups, but depending how close the two hosts are to each other, it may be small or large. Best advise would be to only do it as little as possible. Your new webhost will likely also count all traffic for the database lookups and results sent back against your quotas -- this could be a significant amount depending on the application you have in mind.
__________________
rRhino.com ...social networking for book fans... |
|
|
|
|
|
#8 |
|
Registered User
Join Date: May 2005
Posts: 62
|
Even if you're using a FQDN (fully qualified domain name) for the db host both hosts need to allow remote connections on port 3306.
|
|
|
|
|
|
#9 |
|
Confirmed User
Industry Role:
Join Date: Jun 2006
Posts: 441
|
firewall issue...
you also need to pay attention to any firewalls...
some hosting companies have a firewall that blocks external access on the DB ports and only allows usual internet traffic such as HTTP, POP, etc... if such a firewall is present between the network your webserver is on and the new network your DB is on, you will not be able to connect to the db at all... (or at least without fooling around with access ports, or redirecting them, either way its not easy...) |
|
|
|
|
|
#10 |
|
Confirmed User
Industry Role:
Join Date: Apr 2006
Posts: 647
|
Also, depending upon what control panel your host uses, you may need to log into your control panel and add the IP address of your new host's server to the access host.
Cpanel and DirectAdmin has this so that mysql databases can only be accessed from localhost by default but you can have to so that they can be remotely accessed. |
|
|
|
|
|
#11 | |
|
Confirmed User
Join Date: Jan 2004
Posts: 1,238
|
Quote:
__________________
Managed US/NL Hosting [ [Reality Check Network ] Dell XEON Servers + 1/2/3 TB Packages ICQ: 4-930-562 |
|
|
|
|
|
|
#12 |
|
Too lazy to set a custom title
Industry Role:
Join Date: Oct 2002
Location: Punta Cana, DR
Posts: 29,927
|
Did you change in your scripts (the config file ) localhost to the actual FQDN ...?
__________________
I know that Asspimple is stoopid ... As he says, it is a FACT ! But I can't figure out how he can breathe or type , at the same time .... |
|
|
|
|
|
#13 | |
|
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
Quote:
So, that's for the sites with tradescripts, but now my problem is how to get the blogs moved over... I tried everything everyone's told me & it's just not working... I called the new host & the tech guy sounded like he was outsourced, I couldn't even understand him...he put me on hold & I waited 15 minutes & hung up.. fucking people like that piss me off.. .. Seems like I'm going to lose alot of traffic.... I got some blogs & sites with .be domains from eurodns, & when I tried to change the dns, it wouldnt allow me to without changing the whois info, claiming that the . in between my initials used during the initial registration is an invalid character.. so, fuckit, I go to fix it like they want & the fuckers want to charge me 16 euro for it, & i got 20 of these domains, 13 of which I use, have traffic, & want to keep, so 16 euro x 13 = $300+ just to change my fuckin name.. why bother when the things going to expire in 5 months & then I'll have to pay $300 more again.... been nothing but headache all weekend, all because of wanting to move to a better hosting solution.... |
|
|
|
|
|
|
#14 | |
|
Too lazy to set a custom title
Industry Role:
Join Date: Oct 2002
Location: Punta Cana, DR
Posts: 29,927
|
Quote:
Shit ... If the " . " was good originally, it still should be good now ... And since when you have to pay to change info ( at least for the .com, .net, .org, etc..). Now on the blog ( Wordpress I presume ) you need to: - save the db text file to your computer - Create DB on the new server, create users, add users to db - Install script on new server - import db file from computer to new server thru phpmyadmin... This is why Rsync is easier, because the whole site ( including webmail ) gets imported automatically in one shot ... Or thru WHM, your host could do that in a few minutes... You could do it if they give you a WHM with shell ... If you want I could take a look at your old host. If interested, use my ICQ... I am around for the next hour.
__________________
I know that Asspimple is stoopid ... As he says, it is a FACT ! But I can't figure out how he can breathe or type , at the same time .... |
|
|
|
|
|
|
#15 |
|
Confirmed User
Join Date: Oct 2004
Location: Boston, MA
Posts: 1,723
|
yes it will work. use the IP of the remote host instead of "localhost"
__________________
![]() ICQ# 273099174 - monthly specials - 2 Month Free Credit on All Plans - 100% Referrals - chris@ for details Virtual from $14.95/month, Dedicated from $149.95/month Dual-Core Xeon > 1000GB @ $149.95 | 1500GB @ $169.95 | 10Mbps @ $269.95 |
|
|
|