LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Lapp But Wait Where Is MySql ? (https://www.linuxquestions.org/questions/slackware-14/lapp-but-wait-where-is-mysql-780904/)

SAFAD 01-08-2010 01:48 PM

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 ?

ponce 01-08-2010 02:42 PM

http://www.unixmen.com/linux-tutoria...n-slackware-13

Didier Spaier 01-08-2010 02:47 PM

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,

SAFAD 01-10-2010 09:56 AM

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

SAFAD 01-12-2010 07:21 AM

Ok Guys I Need Solution

voyciz 01-12-2010 08:04 AM

Quote:

Originally Posted by SAFAD (Post 3823635)
Ok Guys I Need Solution

What happened to the learning? :)

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.

SAFAD 01-12-2010 08:17 AM

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

ponce 01-13-2010 01:01 AM

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.