I want to use the mysqldump-utilities functionality from the PHP script: \ usr \ local \ mysql-5.5 \ bin \ mysqld.exe , launching it with the parameters I need via exec ()

Questions:

  • how to get on the Windows machine under Denwer to this utility \ usr \ local \ mysql- 5.5 \ bin \ mysqld.exe through the command in the php-function exec ()
  • and how to specify the path of the mysqldump utility to save the file so that for example the file is saved next to my php script from which I do all this
  • 2
    Get the utility to work properly through cmd.exe, when you get a satisfactory result, use the start line in the php script with the substitution of the necessary parameters. - ilyaplot
  • What could be the problem if mssqldump from cmd.exe works, but not from exec (). At the same time, other commands from exec () are executed, for example, ipconfig returns a message. - 5f0f5

0