Issue
can someone please help. I am trying to set install a LAMP server on Fedora 18 I kept getting an error message whenever i run the "scripts/mysql_install_db --user=mysql" command.
-bash: scripts/mysql_install_db: /usr/bin/perl: bad interpreter: No such file or directory
by the way, I want my 'P' to be a PHP and not Perl Below is how I went about the installation: $ groupadd mysql $ useradd -g msql -c "MySQL Server" mysql $ gzip... $ tar.... $ ln ... to create a symbolic link named (mysql) $ cd msql (pwd: /usr/local/mysql/) $ scripts/mysql_install_db --user=mysql
!!!Now this is when i get that error message!!!!!!.
Thanks in advance
Solution
It appears that the scripts you are trying to execute have CR+LF EOL marker. You can verify that by issuing:
file <filename>
(The output would contain with CRLF line terminators.)
Change it to LF and the scripts should execute fine. See http://en.wikipedia.org/wiki/Newline for more.
Answered By - devnull
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.