Re: Installing php and mysql on linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx>
To: "Jonathan Kahan" <jonathan@xxxxxxxxxxxxxx>
Cc: "php Lists" <php-general@xxxxxxxxxxxxx>
Sent: Monday, March 12, 2007 6:27 PM
Subject: Re:  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@xxxxxxxxxxxxxx> wrote in message news: 45F5B85B.5050302@xxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxx
Web: http://www.estrintech.com
----- Original Message ----- From: "Brad Bonkoski" <bbonkoski@xxxxxxxxxxxxxx>
To: "Jonathan Kahan" <jonathan@xxxxxxxxxxxxxx>
Cc: <php-general@xxxxxxxxxxxxx>
Sent: Monday, March 12, 2007 4:30 PM
Subject: Re:  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@xxxxxxxxxxxxxx
Web: http://www.estrintech.com



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux