Link to home
Start Free TrialLog in
Avatar of vage78
vage78Flag for Greece

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/mysql_install_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?
ASKER CERTIFIED SOLUTION
Avatar of Nick Accad
Nick Accad
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vage78

ASKER

I have not understand
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?
Avatar of mmuser
mmuser

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