Re: back-up mysql database using PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Vanessa

You can use the "SELECT ... INTO OUTFILE 'file_name' " with mysql_query($vAnf, $dbconn); For the syntax you can have a look at http://dev.mysql.com/doc/refman/5.0/en/select.html

Should you be allowed to send system-queries to the Server, than you should have a look to http://dev.mysql.com/doc/refman/5.0/en/backup.html

There are many ways to backup the Database. I thought this will help you.

Regards
Sebastian

""Vanessa Vega"" <vanessa@xxxxxxxxxxxxxxxxxxx> schrieb im Newsbeitrag news:ED.FC.31692.5F071374@xxxxxxxxxxxxxxx
hello there....is there a way to create a back-up database through PHP?...i would like to create a file maybe an sql file that would served as back up of my database. Im using mysql database. I know i could use phpmyadmin to do this but i just like to have a function that would do this without going to phpmyadmin.any help?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux