Page 1 of 1

how do you backup your mysql database being hosted by others

Posted: Tue Aug 05, 2003 10:10 am
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.

Posted: Tue Aug 05, 2003 11:09 am
by AVATAr
$fp = fopen($myurl, "r");

or

$content_array = file($myurl);

check manual:

Posted: Tue Aug 05, 2003 8:39 pm
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...

Posted: Tue Aug 05, 2003 8:55 pm
by redhair
mickey wrote:i do not know where my mysql data is...
Would you know your mysql login?