Jump to content

[Solved] From local to live


Recommended Posts

Hi there,

I have installed a local version which I have used for pre-configuration (added new categories, images, text, links etc) but when I now upload all files through ftp and then try to access both the Internet site and the internet backoffice (www.mysite.cz/admin) my internet explorer show: "Link to database cannot be established".
I then go into the config folder and open the "settings.inc.php" to change the database name, password etc. that my web-hosting company has given me, but it still doesnt work.
What am I doing wrong? Which files needs to be transfered and perhaps configured for this to work??????

//Thomling

Link to comment
Share on other sites

Fixed - I deleted mysql files on the live server and then imported the backup file which I took from my local version. Then only had to edit the ”settings.inc.php” by changing 3 rows:

define('_DB_NAME_', 'xxxxxx');
define('_DB_USER_', 'xxxxxx');
define('_DB_PASSWD_', 'xxxx');

Upload the edited file to the config folder and you´re done.

//Thomling

Link to comment
Share on other sites

  • 1 year later...

Hi, someone set up my site and the only password i know is the original one the computer designer gave me. He changed his number and address and doesnt work in this area anymore, so i have to figure it out myself. I have tried putting that original password through my domain host (thats the only way i can access my site at all) and still its not working....im still getting : Link to database cannot be established. for my site www.sissta.com.au/presta > Any help will be greatly appreciated!!!

Link to comment
Share on other sites

×
×
  • Create New...