LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   !!Help Me!! (https://www.linuxquestions.org/questions/linux-newbie-8/help-me-600064/)

choyars 11-16-2007 04:10 AM

!!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

acid_kewpie 11-16-2007 04:15 AM

please use better thread titles in future. if you wnat help you need to give useful and insightful titles.

merijnv 11-16-2007 05:02 AM

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.

andrews-mark 11-16-2007 05:27 AM

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

pwc101 11-16-2007 05:30 AM

Slackware comes with mysql 5.0.37, so there's no need to install it separately, unless you desperately need version 4.0.27.

choyars 11-19-2007 01:42 AM

Quote:

Originally Posted by pwc101 (Post 2960799)
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..

Nylex 11-19-2007 01:53 AM

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


All times are GMT -5. The time now is 03:02 PM.