Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 28-02-2007, 12:48 PM   #1 (permalink)
œ∑´®†¥¨ˆøπåß∂ƒ©˙∆˚¬Ω≈ ç√∫˜
 
the.kaushik's Avatar
 
Join Date: Aug 2006
Location: Bangalore
Posts: 1,063
Default php+mySQL help..

i have made a website using php and mysql in fedora core 3
now the question is if i want to give it to some one else how do i take the whole setup and give him..
__________________
Blogging @ http://classictutorials.com
the.kaushik is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 28-02-2007, 12:52 PM   #2 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: php+mySQL help..

I guess you need to give that person the mysql database. But, if you explain more about your site, someone with a better idea should be able to help. Is it some CMS or a self coded site? And also which version of mysql and php are both of you'll using. It may turn out that there is an incompatibility between the versions, so just to make sure.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 28-02-2007, 01:44 PM   #3 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,453
Default Re: php+mySQL help..

Giving the whole system is very easy!

1. Copy the site,php/html pages
2.
Quote:
Backing up via the command line

To backup from the command line of your shell account, log in and type the following at the prompt replacing USERNAME and DATABASE as described previously:

mysqldump -a -u USERNAME -p DATABASE > FILENAME.mysql

You will be prompted for your database password and then the DATABASE will be dumped to a plain-text file called FILENAME.mysql.

The resulting file, FILENAME.mysql, is a full backup with which you can fully restore your database in case of problems.
Restoring via the command line

Restoring from FILENAME.mysql is a three step process:

1.

Drop the database

mysqladmin -u USERNAME -p drop DATABASE
2.

Recreate the database

mysqladmin -u USERNAME -p create DATABASE
3.

Import the backup data

mysql -u USERNAME -p DATABASE < FILENAME.mysql
Check this
__________________
Bad Bad server.....No candy for u!
mediator is offline  
Old 28-02-2007, 05:07 PM   #4 (permalink)
œ∑´®†¥¨ˆøπåß∂ƒ©˙∆˚¬Ω≈ ç√∫˜
 
the.kaushik's Avatar
 
Join Date: Aug 2006
Location: Bangalore
Posts: 1,063
Default Re: php+mySQL help..

Quote:
Originally Posted by mediator
Giving the whole system is very easy!

1. Copy the site,php/html pages
2.

Check this
wow! thanks hope this work
__________________
Blogging @ http://classictutorials.com
the.kaushik is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +5.5. The time now is 04:58 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2