Apache PHP MySQL Setup after Slackware 9.0 Installation
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slackware, Red Hat, Fefora, Mandrake, Cygwin
Posts: 13
Rep:
Well I can actually run 'mysqladmin -u root status' without a problem but when I try to do anything else I get the error you get. I havn't been looking at it much yet.
But is there enyone that has had this problem and sorted it out?
It may help to know that mysql opens a port (quite a high number that I can't remember). This means you can check if it's running (and nothing else) by "nmap localhost".
MySQL is not automatically started on reboot ... I haven't looked into how to do this yet but you need to run the "./bin/safe_mysqld" script from your mysql directory to do this manually. For some reason this doesn't work from other directory locations (on my system at least).
I see that you are trying Slackware, so for this distro edit the /etc/rc.d/rc.local script and add the line "safe_mysqld". This should start it automatically after each reboot.
does mysql apache and php all install with slack 9.0? I did the full install... and what i was wonderin was how do you use phpmyadmin? i can't seem to figure this out
Astor wrote:
Personally I never liked how slack installed apache/php/sql from 8.0, so I install them myself from source. :-)
Me too, I do understand the reason for distributing them among /etc, /var, /lib .. for linux core packages (no question).
But for such additional, big software packages n those frequently released software packages, I'd prefer to have them on their own directory like kde on /opt/kde, {apply also to netscape, mozilla, ..} for easier for maintaining, upgrading. Maybe later drop them into another CD in later realese ..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.