Ver Mensaje Individual
  #1 (permalink)  
Antiguo 14/02/2010, 18:24
Avatar de Frehley
Frehley
 
Fecha de Ingreso: junio-2005
Ubicación: Somewhere between Heaven and Hell
Mensajes: 415
Antigüedad: 18 años, 11 meses
Puntos: 0
Pregunta Argumentos para mysql.exe

Gente, pasaron horas y no puedo hacer funcionar bien este proceso, me parece que tengo mal los argumentos porque me abre la ventana de la consola de commandos pero me la cierra rapido.

Código PHP:
 Clave txtClave.Text
        Database 
txtDatabase.Text
        Host 
txtHost.Text
        Puerto 
txtPuerto.Text
        User 
txtUser.Text

        Dim back 
As String Application.StartupPath "\backup_20100213093056.sql"
        
Dim mysqlll As String Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles) & "\MySQL\MySQL Server 5.0\bin\mysql.exe"

        
Process.Start(mysqlll"--host=" Host " --user=" User " --pasword=" Clave " " Database " -r " back)

        
MsgBox("la base de datos ha sido creada"
Pregunté en un foro de .Net y me dijeron que pregunte en uno de MySQL... así que nada, lo estoy haciendo. Si alguien me diera una mano les digo que me harían la semana!

Muchas gracias!
__________________
diegoz.com.ar