Lapp But Wait Where Is MySql ?
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 ? |
|
Hi SAFAD,
Welcome to LQ. 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. Cheers, |
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 |
Ok Guys I Need Solution
|
Quote:
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. |
thanks
what i mean that i can't use 127.0.0.1 as the mysql host neither localhost even if i start it it says ok but it doesn't work |
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). good luck. |
All times are GMT -5. The time now is 11:49 AM. |