Koozali.org: home of the SME Server

MySQL .37 install - screw-up! HELP!

Mahmood Al-Yousif

MySQL .37 install - screw-up! HELP!
« on: June 03, 2001, 01:09:25 AM »
I thought that e-Smith is just like any other linux box. So I downloaded and installed MySQL 3.23.37 like I did countless other times on RedHat and other linux boxes. However, e-Smith seems to be different and I would appreciate it if anyone would let me know how to fix things to be able to run my webserver again.

What I did (as I got conflicts) is first un-install the default MySQL 3.23.32 which came with the .iso, then installed 37 with:

  rpm -ivh --nodeps MySQL*.rpm

Installation went well and did /sbin/e-smith/console-save then rebooted.

However, now I find that MySQL does not start automatically and I cannot connect to my databases using PHP (running PHP-Nuke on e-Smith).

I can start the server using /usr/sbin/mysqld start, but Nuke gives me a connect error.

Can you help please?

Much appreciate it

regards
Mahmood

Mahmood Al-Yousif

Re: MySQL .37 install - screw-up! HELP!
« Reply #1 on: June 03, 2001, 01:30:03 AM »
Okay, I think I found (part of?) the problem. I updated php4.0 to 4.0.3 using a contributed rpm (e-smith-php4-0.3-1.noarch.rpm), but unfortunately this rpm does not enable mysql (config command says --without-mysql)

How can I enable this one now?

I know that you cannot compile applications etc on e-Smith, so what can I do to "repackage" php to enable mysql support?

many thanx
mahmood

Mahmood Al-Yousif

Re: MySQL .37 install - screw-up! HELP!
« Reply #2 on: June 03, 2001, 03:34:24 AM »
(Talking to myself in the hope that someone will benefit - and reply to me!!)

Okay, I reformatted, installed and restored from desktop now so everything is back to normal, HOWEVER, I would still like to know how I could SAFELY update MySQL to .38 (or whatever the latest version is) and PHP4.0.5.

Appreciate your help

regards
Mahmood