LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-08-2010, 01:48 PM   #1
SAFAD
LQ Newbie
 
Registered: Jan 2010
Location: Algeria
Distribution: OpenSuse 11.3 M7
Posts: 8

Rep: Reputation: 0
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 ?
 
Old 01-08-2010, 02:42 PM   #2
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,413

Rep: Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857
http://www.unixmen.com/linux-tutoria...n-slackware-13
 
Old 01-08-2010, 02:47 PM   #3
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,044

Rep: Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977
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,
 
Old 01-10-2010, 09:56 AM   #4
SAFAD
LQ Newbie
 
Registered: Jan 2010
Location: Algeria
Distribution: OpenSuse 11.3 M7
Posts: 8

Original Poster
Rep: Reputation: 0
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
 
Old 01-12-2010, 07:21 AM   #5
SAFAD
LQ Newbie
 
Registered: Jan 2010
Location: Algeria
Distribution: OpenSuse 11.3 M7
Posts: 8

Original Poster
Rep: Reputation: 0
Ok Guys I Need Solution
 
Old 01-12-2010, 08:04 AM   #6
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
Quote:
Originally Posted by SAFAD View Post
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.
 
Old 01-12-2010, 08:17 AM   #7
SAFAD
LQ Newbie
 
Registered: Jan 2010
Location: Algeria
Distribution: OpenSuse 11.3 M7
Posts: 8

Original Poster
Rep: Reputation: 0
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
 
Old 01-13-2010, 01:01 AM   #8
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,413

Rep: Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857
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.

Last edited by ponce; 01-13-2010 at 02:52 AM.
 
  


Reply

Tags
lampp, server, slackware13


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can MySQL log on via SSH/bash? mysql:x:27:101:MySQL Server:/var/lib/mysql:/bin/bash Ujjain Linux - Newbie 2 04-24-2009 02:21 PM
yum install php-mysql fails with mysql 5.1 - "Error: mysql conflicts with MySQL" rebelde Linux - Software 2 03-13-2009 10:32 AM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. SpellChainz Linux - Newbie 1 06-23-2007 03:35 PM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM


All times are GMT -5. The time now is 09:14 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration