Re: Installing php and mysql on linux

From: Date: Mon, 12 Mar 2007 22:27:09 +0000
Subject: Re: Installing php and mysql on linux
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-250335@lists.php.net to get a copy of this message
You've either got path problems or up2date is not installed. That's what 'command not found' means, it can't find the 'up2date' command. Do you just want to start the MySQL server? Or are you trying to update the MySQL rpm? You should be able to start the server with a '/etc/init.d/mysql start', as root. If that doesn't work try 'mysqld' in place of 'mysql'. I don't remember which one Fedora uses. If you're trying to update the rpm then make sure you have up2date installed. 'rmp -qa | grep up2date' should get you something. If it is installed then try to ad the complete path to up2date, I can't remember where it is off the top of my head but '/usr/bin/up2date' or '/usr/sbin/up2date' should get it. I would also suggest you either look online or get a good book on linux administration, especially if this system is doing anything important. As root you can really mess it up if you don't know what you're doing. And you could probably find a good used book fairly cheap. You shouldn't need to get the latest and greatest as the basic administration stuff has been relatively standard for quite a few years now. Good Luck! Ed On Mar 12, 2007, at 3:56 PM, Jonathan Kahan wrote:
http://www.die.net/doc/linux/man/man8/yum.8.html I checked the above page on 'Yum" and see no up2date command as you point out. However when I tried update in the format suggested in the link, it still gives a command not found error. "Brad Bonkoski" <bbonkoski@mediaguide.com> wrote in message news: 45F5B85B.5050302@mediaguide.com...
I think up2date is *not* up2date ;-) Google for 'yum' and all its flags for usage... -B Jonathan Kahan wrote:
Hi all, I am attempting to start the mysql rpm in Red hat as a first step prior to downloading and activating the php-mysql rpm. I was attempting to follow steps based on the link below. the php rpm is loaded and activated as I have been able to execute php scripts. When I attempt to follow those directions, I get the below errors. Does anyone know why I got the below errors or can help me through this process? Thanks http://kbase.redhat.com/faq/FAQ_39_3633.shtm [root@ip-xxx-xxx-xx-xxx var]# rpm -q mysql-server mysql-server-4.1.20-1.FC4.1 [root@ip-xxx-xxx-xx-xxx var]# rpm -q mysql mysql-4.1.20-1.FC4.1 [root@ip-xxx-xxx-xx-xxx var]# up2date mysql bash: up2date: command not found [root@ip-xxx-xxx-xx-xxx var]# up2date mysql-server bash: up2date: command not found [root@ip-xxx-xxx-xx-xxx var]# ./up2date mysql bash: ./up2date: No such file or directory [root@ip-xxx-xxx-xx-xxx var]# ./up2date mysql-server bash: ./up2date: No such file or directory [root@ip-xxx-xxx-xx-xxx var]# ./up2date mysql bash: ./up2date: No such file or directory [root@ip-xxx-xxx-xx-xxx var]# Kind Regards Jonathan Kahan -------------------------------------------------------------------- Systems Developer Estrin Technologies, inc. 1375 Broadway, 3rd Floor, New York, NY, 10018 -------------------------------------------------------------------- Email: jonathan@estrintech.com Web: http://www.estrintech.com
----- Original Message ----- From: "Brad Bonkoski" <bbonkoski@mediaguide.com> To: "Jonathan Kahan" <jonathan@estrintech.com> Cc: <php-general@lists.php.net> Sent: Monday, March 12, 2007 4:30 PM Subject: Re: [PHP] Installing php and mysql on linux
I think up2date is *not* up2date ;-) Google for 'yum' and all its flags for usage... -B Jonathan Kahan wrote:
Hi all, I am attempting to start the mysql rpm in Red hat as a first step prior to downloading and activating the php-mysql rpm. I was attempting to follow steps based on the link below. the php rpm is loaded and activated as I have been able to execute php scripts. When I attempt to follow those directions, I get the below errors. Does anyone know why I got the below errors or can help me through this process? Thanks http://kbase.redhat.com/faq/FAQ_39_3633.shtm [root@ip-xxx-xxx-xx-xxx var]# rpm -q mysql-server mysql-server-4.1.20-1.FC4.1 [root@ip-xxx-xxx-xx-xxx var]# rpm -q mysql mysql-4.1.20-1.FC4.1 [root@ip-xxx-xxx-xx-xxx var]# up2date mysql bash: up2date: command not found [root@ip-xxx-xxx-xx-xxx var]# up2date mysql-server bash: up2date: command not found [root@ip-xxx-xxx-xx-xxx var]# ./up2date mysql bash: ./up2date: No such file or directory [root@ip-xxx-xxx-xx-xxx var]# ./up2date mysql-server bash: ./up2date: No such file or directory [root@ip-xxx-xxx-xx-xxx var]# ./up2date mysql bash: ./up2date: No such file or directory [root@ip-xxx-xxx-xx-xxx var]# Kind Regards Jonathan Kahan -------------------------------------------------------------------- Systems Developer Estrin Technologies, inc. 1375 Broadway, 3rd Floor, New York, NY, 10018 -------------------------------------------------------------------- Email: jonathan@estrintech.com Web: http://www.estrintech.com
--PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#250335) next »