This isn't working.
It creates a file, but it's contents are:Code:echo system("$path mysqldump --all-databases> all_databases.sql");I'm running XAMPP 2.0 on Linux.Usage: mysqldump [OPTIONS] database [tables]
OR mysqldump [OPTIONS] --databases [OPTIONS] DB1 [DB2 DB3...]
OR mysqldump [OPTIONS] --all-databases [OPTIONS]
For more options, use mysqldump --help
Edit: I also tried adding -HOST -uUSERNAME -pPASSWORD, and that didn't work, and I tried using the MySQL_connect() function, and that didn't work.



Reply With Quote


Bookmarks