LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
http://www.unixmen.com/linux-tutoria...n-slackware-13
 
Old 01-08-2010, 02:47 PM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
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
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:08 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration