Setting up environment variables and paths for mySQL

Wuerfel Developer developer@wuerfel-datentechnik.de
Mon Feb 19 08:43:00 GMT 2007


Hi Robert,

robert_neville310[...] schrieb:
> I am new to cygwin and need some assistance setting up environment
> variables and paths. [...]

The PATH variable for all users is set in /etc/profiles.
Just append your xamp/mysql/bin-Path there.

Or you could set it per user in [homedir]/.bashrc, using something like
PATH=/cygdrive/d/xamp/mysql/bin:$PATH

> bash: mysql.exe: command not found
> 
> This message appears even in the in /cygdrive/d/xampp/mysql/bin. 

This is because "." is not in your PATH.
It will start when you enter "./mysql.exe" in your mysql/bin directory,
or if you add "." to your PATH.

HTH.

- Lars

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list