Hello Community,
I was wondering if there is a way to backup my mysql database.

Recommended Answers

All 4 Replies

@diafol Really you don't think I tried that. I pretty much looked every where.

The only thing that seemed to work to the way I wanted is to use OUTFILE but I want the file to goto my website directory but I think it's going to the mysql data and I don't have access to it so I can't get the file.

Member Avatar

Well, if you were more forthcoming with your question, perhaps we could direct you better.e.g. what have you tried / what failed?
Do you wish to do this via PHP, Linux command line, Windows CL, myPHPAdmin? Need more info.

Maybe: http://stackoverflow.com/questions/2170182/how-to-backup-mysql-database-in-php

This runs an exec() command. Dangerous unless you know what you're doing and the page is bulletproof.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.