how do i set c-shell environment variables in tcsh shell script
- by rambokayambo
i am trying to set the environment variables in tcsh shell and it is not working. This is the syntax that i am using currently
setenv MYSQL_HOME=/opt/mysql/mysql/bin
my other question is i have a c-shell script that i am editing. Is setenv the same as a regular set MYSQL=${MYSQL_HOME}/bin/sqlplus?
set MYSQL_HOME=/opt/mysql/mysql/bin
or should i just set the MYSQL_HOME to where the mysql executable is ?