PHP Integration with command line

Discussion of open issues, suggestions and bugs regarding database management and administration tools for MySQL
Post Reply
theduc
Posts: 1
Joined: Tue 01 Jul 2014 13:05

PHP Integration with command line

Post by theduc » Tue 01 Jul 2014 13:24

Hi all,

I'm trying to integrate Schema Compare MySQL 3.1.15 with PHP.

For easy access management, I placed a specific folder with all files of SC and granted the IUSR with all access to this folder and subfolders.

While trying with a normal user in command line, everything is OK and no bugs were found.

While trying to start the schemacompare.com through "system()", "exec()" or other PHP functions, the system bugs, slows down, a process called "ConsoleLauncher" takes >25% of the CPU for several seconds. A file is created inside the SC folder (not inside the PHP script root folder).

Example :
Filename : ConsoleLauncher_2014-07-01_14-59-11.log
Content :

Code: Select all

Logging started at 07/01/2014 14:59:11
Exception: 
    Type = System.ArgumentException
    Message = Le chemin d'accès ne peut pas être une chaîne vide ou contenir uniquement des blancs.
Nom du paramètre : path
    Source = schemacompare
    StackTrace = 
        à av1.a(String A_0)
        à av1.i()
        à av1.a(Guid A_0, Guid A_1, String A_2)
        à av1.a.a()
        à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
        à System.Threading.ThreadHelper.ThreadStart()
Translated message is : "Path cannot be the empty string or all whitespace."

System :
OS : Windows Server 2012 R2 Standard
Webserver : IIS 8.5.9600.16384
PHP : 5.4.24
Devart soft : dbForge Schema Compare for MySQL standard Edition 3.1.15

Thank you for your help !

alexa

Re: PHP Integration with command line

Post by alexa » Wed 02 Jul 2014 15:42

Could you please provide us the example of the PHP script demonstrating how you are running the command line interface of dbForge?

Please also provide us the command line string you are specifying in the command line prompt when invoking schemacompare.com

You can send a reply straight to our support system at supportATdevartDOTcom, so we will keep further correspondence with you on this issue via e-mail.

Post Reply