FORUMS: list search recent posts

Mysql Database Dump

COW Forums : Web Design

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
xavier KhonjeMysql Database Dump
by on Mar 13, 2014 at 2:41:48 pm

how do you create a dump of an sql database, i need to add a feature for database backup in the backend of a system am building, I dont want the CLI version of doing it or using PHPMYADMIN

Return to posts index

xavier KhonjeRe: Mysql Database Dump
by on Mar 24, 2014 at 8:37:49 am

found the answer to my problem, here it is: use the php function exec(), to run the mysqldump command, thus exec(mysqldump --user=username --pass=password --host=hostname DB_NAME > path/to/place/mydb.sql)

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2016 All Rights Reserved