how do you backup your mysql database being hosted by others

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mickey
Forum Newbie
Posts: 24
Joined: Thu May 01, 2003 11:14 am
Location: Philippines

how do you backup your mysql database being hosted by others

Post by mickey »

hi,

i had my website hosted, i already tried using mysqldump thru the php system and exec function, but i don't think it works.

tried using too BACKUP TABLE ... TO ..., seems something wrong with the TO., don't exactly know what path to place there..., tried every path, no files are created.

any ideas? thanks.
User avatar
AVATAr
Forum Regular
Posts: 524
Joined: Tue Jul 16, 2002 4:19 pm
Location: Uruguay -- Montevideo
Contact:

Post by AVATAr »

$fp = fopen($myurl, "r");

or

$content_array = file($myurl);

check manual:
mickey
Forum Newbie
Posts: 24
Joined: Thu May 01, 2003 11:14 am
Location: Philippines

Post by mickey »

wait..,

i know how to create files..

in the first place, i do not know where my mysql data is... my website is just being hosted,

also, i believe i cannot use exec and system since i don't have access to the commands...
User avatar
redhair
Forum Contributor
Posts: 300
Joined: Fri May 30, 2003 4:36 pm
Location: 53.23N-6.57E
Contact:

Post by redhair »

mickey wrote:i do not know where my mysql data is...
Would you know your mysql login?
Post Reply