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.
Hi All
First Message With First Ask
Ok
I Am A New Bie With Slackware (They Say Its HArd But I Say Its Fun !!)
Any Way
I've Self Built My Apache
And Php
But Mysql
Where is It
I've Thought I Did It With The PHP
But I Can't Connect Cuz Of Some Socket Problem And Sometimes Server Down
What To Do ?
If I understand well you compiled yourself Apache and PHP, right ?
That's OK but in case you didn't know, binaries of these programs are already included in Slackware as well as MySQL, provided you made a full install of Slackware.
The script used to start MySQL is (among others) located in /etc/rc.d, its name is rc.mysqld.
OK Thank You
Yes
I've Self Compiled Everything (Better Than Xampp In Learning)
So MySQL Is There ?
mmmm
so i think its same command to start mysql as httpd
but
what is server name ?
i tried with phpmyadmin
localhost
and 127.0.0.1
and it says wrong name
No offense intended. You were given a way to get it up and running, which I would suggest you do if this is any sort of emergency. You have not really given any information at all except for "it doesn't work". If you're hell bent on compiling it for yourself you should at least look at the build scripts in Slackware's source files.
follow the guide I posted the link to (for the mysql part only if you prefeer).
reading the guide substitute mysql paths (ex. /usr/bin/mysql) adding a "local" (ex. /usr/local/bin/mysql) if you built mysql from source (server configuration file my.cnf should probably have to be in /usr/local/etc/ for the same reason, as data dir, I think)
but It's better for you to get the official package, because it has /etc/rc.d/rc.mysql file that is useful to start stop the service: you can have a look at that file (you have to edit if you want to use it because it will have the same path problem as above) if you want to have clear how mysql is started/stopped (because your problem, I think, it's that mysql is not started).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.