Re: Installing php and mysql on linux
| From: | Jonathan Kahan | Date: | Mon, 12 Mar 2007 22:40:27 +0000 |
| Subject: | Re: Installing php and mysql on linux | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-250341@lists.php.net to get a copy of this message | ||
Your point are well taken. I was ale to follow directions from the mysql website to start getting mysql to work instead of the linux site which was the basis for my original post. Does anyone know where I can go to download (aside from the red hat site where i would need to gather license info) a php-mysql rpm?
----- Original Message ----- From: "Edward Vermillion" <evermillion@doggydoo.net>
To: "Jonathan Kahan" <jonathan@estrintech.com>
Cc: "php Lists" <php-general@lists.php.net>
Sent: Monday, March 12, 2007 6:27 PM
Subject: Re: [PHP] Installing php and mysql on linux
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:----- 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 linuxHi 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.comI think up2date is *not* up2date ;-) Google for 'yum' and all its flags for usage... -B Jonathan Kahan wrote:-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpHi 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