link php to mysql command code example
Example: mysql dump database command line linux
mysqldump -u<user_name> -p<user_password> <database_name> > <file_name>.sql
mysqldump -u<user_name> -p<user_password> <database_name> > <file_name>.sql