Try to modify the autoexec.bat if you are using Win9x or the Path User env
in Winnt. Another choice in some systems is to modify DOSTART.bat or
something like that in "\windows".
A way to keep the previous setting of the PATH env is to issue a stat like
SET PATH=%PATH%;c:\mysql; ...

I hope this helps. Leonardo Javier Belen. AFIP-AR

Spam: sql, query, mysql
----- Original Message -----
From: "William Martell" <[EMAIL PROTECTED]>
To: "MySQL Main List" <[EMAIL PROTECTED]>
Sent: Tuesday, September 24, 2002 11:38 PM
Subject: Fw: Set Path Environment


> This is more information regarding the Path for my machine.  It shows the
> default PATH information and the PATH information after I perform the SET
> PATH command.  It also shows how MySQL responds after I type MySQL at the
> command prompt.
>
> Thanks in Advance,
> William
>
>
>
> C:\>path
> PATH=C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem
>
> C:\>SET
>
PATH=C:\mysql\bin;C:\perl\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\W
> bem
>
> C:\>path
>
PATH=C:\mysql\bin;C:\perl\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\W
> bem
>
> C:\>mysql
> Welcome to the MySQL monitor.  Commands end with ; or \g.
> Your MySQL connection id is 6 to server version: 3.23.52-nt
>
> Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
>
> mysql>
>
>
> ----- Original Message -----
> From: "William Martell" <[EMAIL PROTECTED]>
> To: "MySQL Main List" <[EMAIL PROTECTED]>
> Sent: Tuesday, September 24, 2002 9:33 PM
> Subject: Set Path Environment
>
>
> > Hello All,
> >
> > I am having trouble with MySQL in dos.  When I type in mysql from the
c:\>
> > prompt, I get the following error:
> >
> > C:\>mysql
> > 'mysql' is not recognized as an internal or external command, operable
> > program or batch file.
> >
> > I tried the SET PATH command and this works fine when I have dos open.
> But
> > when I start another session of dos later the settings are gone.
> >
> > Does anyone know how to set this as the default path??
> >
> > Thank you very much for your assistance and have a nice day.
> >
> > William
> >
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to