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   3617 Views

Avatar
mente

16 April 2008 at 9:06pm Community Member, 5 Posts

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

16 April 2008 at 9:30pm Community Member, 787 Posts

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

Avatar
mente

22 April 2008 at 4:50pm Community Member, 5 Posts

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

22 April 2008 at 4:59pm Forum Moderator, 474 Posts

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

Avatar
mente

22 April 2008 at 5:04pm Community Member, 5 Posts

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

22 April 2008 at 10:29pm Community Member, 787 Posts

that would be a good option, yes

Avatar
mente

24 April 2008 at 3:51am Community Member, 5 Posts

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

24 April 2008 at 7:11am Community Member, 787 Posts

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