vage78
asked on
I'm trying to install mysql in red hat 6.0
I have the following problem :
I have to execute /usr/local/mysql/scripts/m ysql_insta ll_db
but mysql_install is a Bourne shell script
I'am superuser and I have /bin/bash
How can I change the /bin/bash to /bin/sh in order to execute the mysql_install script?
I have to execute /usr/local/mysql/scripts/m
but mysql_install is a Bourne shell script
I'am superuser and I have /bin/bash
How can I change the /bin/bash to /bin/sh in order to execute the mysql_install script?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
type this a super user:
ln -s /bin/bash /bin/sh
Thats it! if it still doesn't work then you script is bad, show script in forum...
ln -s /bin/bash /bin/sh
Thats it! if it still doesn't work then you script is bad, show script in forum...
vage78:
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.
ASKER
I know it is a bourne script.
I have default shell as superuser bash shell.
When I'm trying to write /bin/sh is not executed what can I do?