Install  mysql on the server.
On your local machine run the command:
mysqldump -u root -p password yourdbnane > outfile.sql.
upload outfile.sql to the server
on the server run the command:
mysql -u root -p password yourdbname < outfile.sql

Clean you db from development data.


On Mon, Nov 21, 2011 at 4:45 AM, Nuno Yu <nun...@gmail.com> wrote:

> Hi! My friends.
> I'm a newbie to cakephp and have accomplished a project on my
> localhost. Could u tell me how to publish my project on a web server?
> I read articles saying just need upload the folders of my local
> webroot directory to webroot folder.
> But how to do with the mysql databases. Should I make use of the db of
> the web server or install a phpmyadmin on it?
> Thanks,
> Nuno
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to