PDA

View Full Version : MySQL installation roblem [/me sad]


Nejko
9th January 2006, 18:06
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, 19:56
The problem is that you have a non-standard installation.

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

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, 20: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, 21: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:

ln -s /opt/lampp/bin/mysql /usr/bin/mysql

But its untested because i dont have xampp installed.

Nejko
9th January 2006, 22:12
i did it as u said, but still not working :(

till
9th January 2006, 22: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, 07: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, 12:00
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, 14:22
hmm, is there any file, where can i change where to look for mysql? :)

till
10th January 2006, 14:49
install_isconfig/setup and install_isconfig/setup2

falko
10th January 2006, 15:07
I don't think you will succeed in installing ISPConfig with XAMPP. I really recommend to follow this tutorial: http://www.howtoforge.com/perfect_setup_fedora_core_4

It's really very easy! :)

Nejko
10th January 2006, 15:25
well, in toturial i can't get apt install ;) cuz i have amd 64bit :) (apt version is 32...) also mysql problem.. well, i found that in setup2:

export PATH="/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/libexec"

i'll try to add my folder in here :)

Nejko
10th January 2006, 16:01
########## INSTALLATION ##########

ERROR: Could not find mysql.sock! The installation routine stops here!
[root@localhost control]#


it's making some progress now :D any ideas for that? :D

falko
10th January 2006, 18:39
well, in toturial i can't get apt install ;) cuz i have amd 64bit :) (apt version is 32...)
You can use yum instead. The syntax is exactly the same:
yum install <package> instead of apt-get install <package>

Nejko
10th January 2006, 18:49
yeah, got that :) any suggestions to my post above?

falko
10th January 2006, 23:58
########## INSTALLATION ##########

ERROR: Could not find mysql.sock! The installation routine stops here!
[root@localhost control]#


it's making some progress now :D any ideas for that? :D
That's because your MySQL is installed in a non-standard location (because you installed XAMPP).

Nejko
11th January 2006, 14:28
-------------

:lock: