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 01-16-2008, 06:02 AM   #1
properganda
Member
 
Registered: Jan 2008
Posts: 43

Rep: Reputation: 15
Installing MySQL on Slackware


I looked around on the MySQL site and could only find this file:

mysql-5.0.45-linux-x86_64-icc-glibc23.tar.gz

to download and attempt to install, it isn't the file quoted (barring version number) on the sites I've been using as a HowTo guide that talk about files like this:

mysql-4.0.16.tar.gz

where you then have to do a ./configure command followed by some arguments and then "make" and "make install".

Anyway I ran "tar -zxf mysql-5.0.45-linux-x86_64-icc-glibc23.tar.gz" and then changed into the resultant directory, and just to see what would happen I then ran ./configure, and got this message back:

Quote:
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!

To help you a bit, I am now going to create the needed MySQL databases
and start the MySQL server for you. If you run into any trouble, please
consult the MySQL manual, that you can find in the Docs directory.
which seemed encouraging, but it continued with this:

Quote:
./scripts/mysql_install_db: line 118: ./bin/my_print_defaults: cannot execute binary file
Neither host 'properganda' nor 'localhost' could be looked up with
./bin/resolveip
Please configure the 'hostname' command to return a correct
hostname.
If you want to solve this at a later stage, restart this script
with the --force option
I don't know where to go from here, my box does of course have a hostname along the lines of "properganda.box.net".

Can anyone say helpful things about this?

Last edited by properganda; 01-16-2008 at 06:03 AM.
 
Old 01-16-2008, 06:07 AM   #2
NiN3Toes
LQ Newbie
 
Registered: Jan 2008
Location: Round Lake, IL
Distribution: PC Linux OS
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by properganda View Post
I looked around on the MySQL site and could only find this file:

mysql-5.0.45-linux-x86_64-icc-glibc23.tar.gz

to download and attempt to install, it isn't the file quoted (barring version number) on the sites I've been using as a HowTo guide that talk about files like this:

mysql-4.0.16.tar.gz

where you then have to do a ./configure command followed by some arguments and then "make" and "make install".

Anyway I ran "tar -zxf mysql-5.0.45-linux-x86_64-icc-glibc23.tar.gz" and then changed into the resultant directory, and just to see what would happen I then ran ./configure, and got this message back:



which seemed encouraging, but it continued with this:



I don't know where to go from here, my box does of course have a hostname along the lines of "properganda.box.net".

Can anyone say helpful things about this?
There may be a readme or installation file in that package. Usually it will tell you step by step on how to install it (what commands to initiate, etc...).
 
Old 01-16-2008, 06:35 AM   #3
properganda
Member
 
Registered: Jan 2008
Posts: 43

Original Poster
Rep: Reputation: 15
The README directs to the Manual, but the Installation instructions in the Manual aren't much help, it blathers on about Windows for the most part, and then using X-server for Linux but I'm doing this "Commando style".

Anyway, all I really want from the forum on this to get going is what to do with a file that looks like this:

mysql-5.0.45-linux-x86_64-icc-glibc23.tar.gz

which I think is a binary sourceball or something...
 
Old 01-16-2008, 10:37 AM   #4
properganda
Member
 
Registered: Jan 2008
Posts: 43

Original Poster
Rep: Reputation: 15
Okay, don't worry about this, I located the source file mysql-5.0.51.tar.gz and am currently banging my head against that instead.
 
Old 01-16-2008, 12:25 PM   #5
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,152

Rep: Reputation: 60
Quote:
Originally Posted by properganda View Post
Okay, don't worry about this, I located the source file mysql-5.0.51.tar.gz and am currently banging my head against that instead.
Slackware already has binary of mysql-5.0.51 in the stable tree. If you still want to compile it yourself, why not start with the build script that Slackware provides. All the hard work is already done, you just have tweak it a bit to your taste.
 
Old 01-16-2008, 12:55 PM   #6
cse_200509
LQ Newbie
 
Registered: Oct 2007
Posts: 18

Rep: Reputation: 30
Question

Quote:
Originally Posted by tuxrules View Post
Slackware already has binary of mysql-5.0.51 in the stable tree. If you still want to compile it yourself, why not start with the build script that Slackware provides. All the hard work is already done, you just have tweak it a bit to your taste.
ok!
will u plz tell me tuxrules!
how to start the server?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing MySQL 5 in Centos4.4 - removing old Mysql files Swakoo Linux - General 4 03-31-2007 07:47 AM
Installing ruby with rails+mysql+apache on Slackware 10.2 from source paultoytoy Slackware 1 09-08-2006 12:01 PM
Error in installing MySQL on Slackware linux kernelvn Slackware 1 08-14-2004 06:46 AM
Writing an app that uses a mysql database without installing mysql server? QtCoder Programming 4 08-09-2004 02:43 PM
Installing MySQL.4.0.17 and php support for Mysql on RedHat 9.0 Neha Linux - Software 13 12-29-2003 12:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration