Re: Set Path Environment

2002-09-25 Thread kayamboo

Why not you set the path in your environment variables and restart the
computer
Are you using win98 or NT?

- Original Message -
From: "William Martell" <[EMAIL PROTECTED]>
To: "MySQL Main List" <[EMAIL PROTECTED]>
Sent: Wednesday, September 25, 2002 11:33 AM
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




Re: Set Path Environment

2002-09-25 Thread Iikka Meriläinen

Hi,

Just to clarify a bit, the file in \windows is called winstart.bat,  but it
seems to be discontinued in Windows XP (may not be available in W2K either).
In Windows NT it works, though.

In NT/W2K/XP the most efficient way to modify these variables _and_ persist
them is through My Computer->Properties... as I noted in an earlier message.

After thinking this a bit, it'd be very nice if the MySQL setup program
offered an option to automatically add mysql\bin to the PATH environment
variable (whoever is responsible of the setup, please consider this!) on
Windows.

Best regards,
Iikka

On Wed, 25 Sep 2002, Leonardo Javier Belén wrote:

> 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
>

**
* Iikka Meriläinen   *
* E-mail: [EMAIL PROTECTED] *
* Vaala, Finland *
**


-
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




Re: Set Path Environment

2002-09-25 Thread John R. Diehl, Jr.

Under NT and XP you set the environment variables by clicking on the My 
Computer icon and selecting Properties, then clicking the Environment 
variables on the Advanced tab.  Make sure you set the PATH under the 
System Variables instead of User Variables if you want MySQL to be 
available to all users.

William Martell wrote:

> 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
> 


-- 
==
John R. Diehl, Jr.  FSU Department of Computer Science
==


-
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




Re: Set Path Environment

2002-09-25 Thread Leonardo Javier Belén

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




Re: Set Path Environment

2002-09-25 Thread Iikka Meriläinen

Hello,

On Windows 9x edit your c:\autoexec.bat

On Windows NT/2000/XP/.NET, right-click My Computer, then Properties, then on
XP click Advanced tab and then "Environment Variables". On NT/2000 this
procedure is about the same, only the Environment stuff is on a different tab.

Then re-run autoexec.bat or reload your command prompt, respectively.

Best regards,
Iikka

On Tue, 24 Sep 2002, William Martell wrote:

> 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
>

**
* Iikka Meriläinen   *
* E-mail: [EMAIL PROTECTED] *
* Vaala, Finland *
**


-
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




Fw: Set Path Environment

2002-09-25 Thread William Martell

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




Set Path Environment

2002-09-25 Thread William Martell

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