LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-16-2007, 05:10 AM   #1
choyars
LQ Newbie
 
Registered: Nov 2007
Posts: 8

Rep: Reputation: 0
Red face !!Help Me!!


hi,,

im just new in linux environment,,, im installing linux slackware v12,, in my PC,, my PC has now a 2 OS,, slackware n XP.. but its ok...

my problem was,, when im installing patches for making it a server,, i am installing the SQL part,


*********

Go to http://www.mysql.com/ and download the mysql package
- to install this directly on the command line type:
- cd /usr/local
- wget http://mirror.trouble-free.net/mysql...-4.0.27.tar.gz
- gunzip mysql-4.0.27.tar.gz
- tar xvf mysql-4.0.27.tar
- cd mysql-4.0.27
- groupadd mysql
- useradd -g mysql mysql
- "./configure --prefix=/usr/local/mysql --enable-large-files --enable-shared=yes --with-readline"
**** If only MySQL client is needed for DBD::mysql then use this:
- "./configure --prefix=/usr/local/mysql --without-server --enable-shared=yes --with-readline"
**** If using version 5 tree MySQL client then use this:
- "./configure --prefix=/usr/local/mysql --without-server --enable-shared=yes --with-readline --enable-thread-safe-client"
- make
- make install
- scripts/mysql_install_db
- chown -R root /usr/local/mysql
- chown -R mysql /usr/local/mysql/var
- chgrp -R mysql /usr/local/mysql
- cp support-files/my-medium.cnf /etc/my.cnf
- /usr/local/mysql/bin/mysqld_safe --user=mysql &
- ln -s /tmp/mysql.sock /var/run/mysql/mysql.sock
**** For some systems you may need to add the mysql/bin directory to your PATH:
- PATH=$PATH:$HOME/bin:/usr/local/mysql/bin/
- export PATH
**** you may also want to add those two lines to your /root/.bash_profile file
**** For Mysql 5 tree only, you also may need to copy the libmysqlclient.so file to libs
- cp /usr/local/mysql-5.0.27/libmysql/.libs/libmysqlclient.so /usr/lib/
- cp /usr/local/mysql-5.0.27/libmysql/.libs/libmysqlclient.so.15 /usr/lib/
- you are done
********************

in the make area.. (-make)& (-make install), when i install in this part it says..bash -make is not found,, help GUYS,, pls see wats wrong..


choy,,
tnx
 
Old 11-16-2007, 05:15 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
please use better thread titles in future. if you wnat help you need to give useful and insightful titles.
 
Old 11-16-2007, 06:02 AM   #3
merijnv
LQ Newbie
 
Registered: May 2007
Location: The Netherlands
Distribution: ubuntu-desktop 8.10 and ubuntu-server 8.10
Posts: 21

Rep: Reputation: 15
You may try another distribution that is a bit more user friendly than slackware. For instance,
Ubuntu-Server: http://www.ubuntu.com/products/WhatI.../serveredition

And next time: use "trouble installing mysql in slackware" as a topic-title, rather than just help.
 
Old 11-16-2007, 06:27 AM   #4
andrews-mark
Member
 
Registered: Feb 2007
Location: London
Distribution: debian
Posts: 108

Rep: Reputation: 15
Quote:
in the make area.. (-make)& (-make install), when i install in this part it says..bash -make is not found,, help GUYS,, pls see wats wrong..
are you actually typing "-make" instead of "make"? Drop the dash, it shouldn't be there, i.e. try
Code:
make
make install
If you still get a "command not found", it sounds like either the "make" program is not installed or else it's not within the bash path. Try "which make". This will tell you if it is installed and in your search path.

-mark
 
Old 11-16-2007, 06:30 AM   #5
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Slackware comes with mysql 5.0.37, so there's no need to install it separately, unless you desperately need version 4.0.27.
 
Old 11-19-2007, 02:42 AM   #6
choyars
LQ Newbie
 
Registered: Nov 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pwc101 View Post
Slackware comes with mysql 5.0.37, so there's no need to install it separately, unless you desperately need version 4.0.27.
......

where can i see the bundle sql 5 for slackware 12.. can u help me..
 
Old 11-19-2007, 02:53 AM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You can get the package from any Slackware mirror. It's under slackware/ap.
 
  


Reply


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




All times are GMT -5. The time now is 09:55 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration