HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   MySQL installation roblem [/me sad] (http://www.howtoforge.com/forums/showthread.php?t=1972)

Nejko 9th January 2006 17:06

MySQL installation roblem [/me sad]
 
Hey all!

First i would like to say huge thnx to all developers of ISPConfig!

Now my little problem :)

I'm runnin' FC4 (fedora core 4) wit xampp. I download ispconfig, unrar it, go to shell and write ./setup . It asks me couple questions... etc etc, everything ok, till it comes to mysql chech. I have definly installed mysq on my server, it's just that ISPConfig installation do not recognize it. It gie this error:

########## MYSQL SERVER ##########

Checking for package MySQL...
which: no mysql in
(/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/
bin:/usr/bin:/usr/X11R6/bin:/usr/local/libexec)
ERROR: mysql not found!
[root@localhost kontrola]#

I guess problem is in the file which checks for mysql. It is searching dir's where default(spelling? :S)

(/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/
bin:/usr/bin:/usr/X11R6/bin:/usr/local/libexec)

My mysql is in /opt/lampp/etc...

Where can i fix my problem?

Thanx for all your answers!


//Nejc

falko 9th January 2006 18:56

The problem is that you have a non-standard installation.

You can try to create a symlink to your mysql binary like this:

Code:

ln -s /path/to/mysql /usr/bin/mysql
I don't know if this helps. I'd recommend that you have a look at this tutorial: http://www.howtoforge.com/perfect_setup_fedora_core_4

Nejko 9th January 2006 19:15

Hey, tnx for reply!

But i don't know what u mean with that symlink :) i'm quite a newbie to whole linux scene, so i raither installed xampp, which does all the dirty work. Can u be plz more specific about symlink stuff?

Keep up good work! ;)

edit: i don't work :(

till 9th January 2006 20:51

The problem with packages like xampp is, that they install linux applications in uncommon places. It might be that you encounter other errors later.

The best way to install ISPConfig is to follow one of the howtos on howtoforge that prepare your linux server for ISPConfig. They where written as copy and paste howtos so that even beginners can follow them easily.

To your problem with the symlink, if i understand the xampp docs right, the symlink must be:

Code:

ln -s /opt/lampp/bin/mysql /usr/bin/mysql
But its untested because i dont have xampp installed.

Nejko 9th January 2006 21:12

i did it as u said, but still not working :(

till 9th January 2006 21:22

ISPConfig has been never tested with xampp. I recommend that you setup your server again with one of the howtos. You can find a list at the bottom of this page:

http://www.ispconfig.org/documentation.htm

Someone who is really familar with linux might get xampp to work with ISPCOnfig, but for beginners the howtos are the better and easier way.

Nejko 10th January 2006 06:26

so there's no way to get this working? :( cuz everything now worrks ok, so don't wan't to reinstall :( :confused:

till 10th January 2006 11:00

Quote:

Originally Posted by Nejko
so there's no way to get this working? :( cuz everything now worrks ok, so don't wan't to reinstall :( :confused:

How did you know that everything works ok with ISPConfig or will be at least working with ISPConfig at all before you got ISPConfig installed? The problematic part is in most cases the postfix setup, not mySQL and apache. And the paths to all config files are incorrect when you install the files with xampp so you will have to tweak the ISPConfig settings to get everything to work properly.

Nejko 10th January 2006 13:22

hmm, is there any file, where can i change where to look for mysql? :)

till 10th January 2006 13:49

install_isconfig/setup and install_isconfig/setup2


All times are GMT +2. The time now is 17:07.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.