Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 27, 2012, 04:16:06 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Interested in joining the WebsiteBaker team?
For more Information read
here
or on our
new website
.
155555
Posts in
21715
Topics by
7737
Members
Latest Member:
gx-world
WebsiteBaker Community Forum
English
Help & Support
(Moderators:
Argos
,
badknight
)
how to restore site on new server
Pages: [
1
]
Go Down
Author
Topic: how to restore site on new server (Read 468 times)
tifo
Offline
Posts: 26
how to restore site on new server
«
on:
March 13, 2008, 07:09:02 PM »
I need help in restoring a site to a new server as i moved hosts.
I have uploaded all the files by FTP and the database by phpmyadmin. So the files are in my webspace and the tables are in the database. I have changed the config.php file with the new settings.
The site does not work, i get the message
"Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)"
Also, where is the actual content for the pages kept in the database as i would like to extract this information and use it on a new installation, which may be easier than getting the old site to work.
Thanks.
Logged
Luckyluke
Offline
Posts: 555
Re: how to restore site on new server
«
Reply #1 on:
March 13, 2008, 07:13:08 PM »
Hoi,
Did you perform every step like in the
HELP
pages?
Luc
Logged
tifo
Offline
Posts: 26
Re: how to restore site on new server
«
Reply #2 on:
March 13, 2008, 08:19:28 PM »
i'll have a look.
i did it the way i said above, not a new installation.
uploaded old files to webspace, put tables into database from backup, changed config file with new database settings ....
Logged
tifo
Offline
Posts: 26
Re: how to restore site on new server
«
Reply #3 on:
March 13, 2008, 08:29:47 PM »
new installation gives the same message :
Database host name, username and/or password incorrect. MySQL Error:
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Logged
Luckyluke
Offline
Posts: 555
Re: how to restore site on new server
«
Reply #4 on:
March 13, 2008, 08:58:36 PM »
Maybe the name and password of the database are different from the old one.
Dit you change everything in the file config.php in the root of your WB site?
Something like:
define('DB_TYPE', 'mysql');
define('DB_HOST', 'localhost');
define('DB_USERNAME', 'username');
define('DB_PASSWORD', 'password');
define('DB_NAME', 'databasename');
take a look...
Logged
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...