To set the value of PATH, use the
To set the value of PATH, use the instructions that pertain to your shell: For csh or tcsh, look for a setenv PATH command in your startup files, then add the appropriate directory to the line. Suppose your search path is set by a line like this in your .login file: setenv PATH /bin:/usr/bin:/usr/local/bin If mysql is installed in /usr/local/mysql/bin, add that directory to the search path by changing the setenv line to look like this: setenv PATH /usr/local/mysql/bin:/bin:/usr/bin:/usr/local/bin It’s also possible that your path will be set with set path, which uses different syntax: set path = (/usr/local/mysql/bin /bin /usr/bin /usr/local/bin) For a shell in the Bourne shell family such as sh, bash, or ksh, look in your startup files for a line that sets up and exports the PATH variable: export PATH=/bin:/usr/bin:/usr/local/bin The assignment and the export might be on separate lines: PATH=/bin:/usr/bin:/usr/local/bin export PATH Change the setting to this: export PATH=/usr/local/mysql/bin:/bin:/usr/bin:/usr/local/bin Or: PATH=/usr/local/mysql/bin:/bin:/usr/bin:/usr/local/bin export PATH Under Windows, check for a line that sets the PATH variable in your AUTOEXEC.BAT file. It might look like this: PATH=C:WINDOWS;C:WINDOWSCOMMAND Or like this: SET PATH=C:WINDOWS;C:WINDOWSCOMMAND
Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost PHP Web Hosting services