Jump to:

23490 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » From PC to Website (MySQL)

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1140 Views
  • Beck
    Community Member
    23 Posts

    From PC to Website (MySQL) Link to this post

    Hi everyone! till today i'm using WampServer. it's really good and usefull. but every time when i make a website. i have to make template, then other information i mean content i have to upload online(hosting). but i want to do it in my PC then upload it to website hosting.

    How can i do this? How can i copy out MySQL from my PC to WebsiteHosting? or you know another way?

    MY PC: Windows XP SP3
    Website hosting: Linux or other except Windows

    Thanks in advance

  • banal
    Community Member
    901 Posts

    Re: From PC to Website (MySQL) Link to this post

    1) Create a new database on your Webhost (usually through some sort of control panel)
    2) Dump your local database contents to a file (using PhpMyAdmin, the Backup function of the MySQL Administrator tool or command line)
    3) Import the database dump into the database on your webserver
    4) Copy all files from your PC to your webserver
    5) Modify _config.php and .htaccess to reflect your webserver settings (update DB credentials and make sure RewriteBase in the .htaccess is correct)

    I regularly copy local sites to webservers and it always worked like a charm. Oh and another thing:
    6) On your production server, remove the error-404.html file from the assets folder and run dev/build?flush=all. This should recreate the cached files and the 404 error page (which may contain invalid links if you use the one from the local installation)

  • Jennifer Banks
    Community Member
    3 Posts

    Re: From PC to Website (MySQL) Link to this post

    Thank you for your review, it was very helpful! I use http://www.serverintellect.com/ for my hosting and couldn't be happier.

  • HamptonPearson
    Community Member
    1 Post

    Re: From PC to Website (MySQL) Link to this post

    WampServer..is new for me...and i will convert my site...http://www.ceilingfansreviews.net/ ....for this server form..

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.