Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Distribution: At home: Arch, OpenBSD, Solaris. At work: CentOS, Debian, Ubuntu
Posts: 3,558
Rep:
Quote:
Originally Posted by MrSako
do i install it instead of php and mysql or along with php and mysql?
and where do i get it?
It goes along with PHP and MySQL. You can get it with "yum install php-mysql" (no quotes) generally.
Edit: This will give you the PHP4 that comes with CentOS. If you really want PHP5 you'll need to follow some of the directions given by others and compile it yourself.
ok whats happening now is im having the tech guy where i rented my VPS from whipe off my whole VPS and only put in CentOS and webmin and the minimum dependancies for webmin. im going to install everything else by hand.
whatever installed everything when i first got it seemed to just put files everywhere i think there could of just been too many problems
before manually doing php and mysql i wanted to try it with YUM just one more time
i enabled the centosplus repo (so php5 could be installed) and i did yum install php-mysql
it all installed succesfully. i checked my phpinfo() and it looked good. but the problem is mysql wont start. theres not even a file on the system named mysqld
im about to uninstall everything that YUM installed and do it by hand but im hoping by some chance there was just a mistake
the error i get now when trying to do the mysql connect command now is
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Distribution: (Home)Opensolaris, Ubuntu, CentOS, (Work - AIX, HP-UX, Red Hat)
Posts: 2,032
Rep:
Check the bin directory under you mysql directory. So if you placed the binary installation under /usr/local/mysql it will be under there. just make a sym link from /usr/bin to mysqld_safe.
Just wanted to post that I had the exact same problem. What I couldint do for approx 2 weeks in Red Hat enterprise, took me about 2 hours using Ubuntu. For anyone who wants to learn Linux and is having problems installing, configuring, etc. I suggest you use Ubuntu, GREAT distribution
Distribution: (Home)Opensolaris, Ubuntu, CentOS, (Work - AIX, HP-UX, Red Hat)
Posts: 2,032
Rep:
I could not agree more with Nickk. There have been distributions that have given me hell trying to get this installed. I am currently using Ubuntu server edition on my IBM Netfinity 5000 at my house. Runs great for an old machine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.