Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

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

Re:Uploading MySQL Database


Reply


8 Posts   3643 Views

Avatar
mente

Community Member, 5 Posts

16 April 2008 at 9:06pm

Hi everyone,

I developed my website offline, on Windows. However, my problem is that I cannot upload the database from my HDD to the web.

I installed the PHP installer and Silverstripe runs smoothly.

Thanks in advance

Avatar
Fuzz10

Community Member, 787 Posts

16 April 2008 at 9:30pm

You have to use a tool like PHPMyAdmin to transfer your database. Silverstripe has no built in functionality to transfer sites.

Avatar
mente

Community Member, 5 Posts

22 April 2008 at 4:50pm

Thanx.

However, what exactly do I need to upload. I mean which files of the windows installation.

As far as I understand it should be the mysql\data\ss_mysite folder.

Avatar
simon_w

Forum Moderator, 474 Posts

22 April 2008 at 4:59pm

In PHPMyAdmin, export your database, then import on your server.

Avatar
mente

Community Member, 5 Posts

22 April 2008 at 5:04pm

The database is made offline, with the windows installer.
So now I should install phpmyadmin locally, on my computer, export my database and then upload it with the server's phpmyadmin?

Avatar
Fuzz10

Community Member, 787 Posts

22 April 2008 at 10:29pm

that would be a good option, yes

Avatar
mente

Community Member, 5 Posts

24 April 2008 at 3:51am

It does not really work.
When I upload the database and I upload the content ot htdocs happens nth.
What should I do?

PS:With the PHP installer, when I install a fresh copy, it works.

Avatar
Fuzz10

Community Member, 787 Posts

24 April 2008 at 7:11am

Make sure to set the correct values in the _config.php file in your project-directory.