This is a discussion on Newbie installing Xampp within the Linux Operating System forums, part of the Unix Operating Systems category; --> Hi all, I am trying to install Xampp on my HP laptop 400mhz RedHat 7.3 (hu, looks almost like ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi all, I am trying to install Xampp on my HP laptop 400mhz RedHat 7.3 (hu, looks almost like retrocomputing). I got the source from www.apachefriends.org and it installed fine. Apache and Php run (i think) fine. The problem is, I cannot get MySQL to run. I am staring at the /opt/lampp/bin directory containing mysql_install_db, i type $ mysql_install_db and what I get is bash: mysql_install_db: command not found It is not even funny. The file IS there, I mean. It does the same with any other executable like mysql or mysqladmin. I am probably still thinking like a Windows-user, and I wrongly assume an executable is a file you can execute when you call it - this is probably going to be the dummest question ever asked about anything linux, but what do I have to do to get the darn mysql_install_db going? Thank you very much, Zkyhavon |
| ||||
| Hello irene@briospa.com (<irene@briospa.com>) wrote: > I am trying to install Xampp on my HP laptop 400mhz RedHat 7.3 (hu, > looks almost like retrocomputing). I got the source from > www.apachefriends.org and it installed fine. Apache and Php run (i > think) fine. > > The problem is, I cannot get MySQL to run. I am staring at the > /opt/lampp/bin directory containing mysql_install_db, i type > > $ mysql_install_db > > and what I get is > > bash: mysql_install_db: command not found Probably /opt/lampp/bin is not in your path. On most distributions, the default settings do not include the current working directory in the path for security reasons. In that case you need to call the app with the relative or absolute path: $ cd /path/to $ ./program or $ /path/to/program best regards Andreas Janssen -- Andreas Janssen <andreas.janssen@bigfoot.com> PGP-Key-ID: 0xDC801674 ICQ #17079270 Registered Linux User #267976 http://www.andreas-janssen.de/debian-tipps-sarge.html |