LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 08-28-2003, 04:45 PM   #1
Bloged
LQ Newbie
 
Registered: Aug 2003
Location: Netherlands, The
Distribution: Ubunty 6.06 (Dapper)
Posts: 9

Rep: Reputation: 0
Question MySQL installation


Ok, first off all I'm a real n00b when it comes to Linux....

When I'm trying to install mysql (mysql-standard-4.0.14-pc-linux-i686) on my pc I'm getting an error:

First I explain what I did:
1. downloaded the files
2. 'unpacked' them with tar
tar -xzf mysql-standard-4.0.14-pc-linux-i686.tar.gz
3. run the configure
./configure

After this I get an error! First off all I get a lot of Information after that this:
Starting the mysqld server. You can test that it is up and running
with the command:
./bin/mysqladmin version
root@linux:~/lamp/mysql-standard-4.0.14-pc-linux-i686/data
030827 22:30:05 mysqld ended


Then it stops..... What to do?!

Grtz,

Bloged

P.S. did it install something right now or did it just unpack it?
 
Old 08-28-2003, 06:10 PM   #2
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
You've still got to do

make

make install





I'd check out the installation instructions first though before I went any further either on the mysql site or if there's any readme, INSTALL files in the directory you unpacked it to

./configure set's up the environment and does some checks and you can normally pass option to it like ./configure --with-innodb and stuff like that. If it gave you an error though just doing ./configure you'll have to address the error it's telling you about.
 
Old 08-29-2003, 07:53 AM   #3
Bloged
LQ Newbie
 
Registered: Aug 2003
Location: Netherlands, The
Distribution: Ubunty 6.06 (Dapper)
Posts: 9

Original Poster
Rep: Reputation: 0
Late reply

Sorry for the late reply, but I went searching for another tutorial. Now I'm using this tutorial

And here it goes wrong....
./configure --enable-thread-safe-client --prefix=/usr/local/mysql

Can someone help me?!

Grtz,

Bloged

Last edited by Bloged; 08-29-2003 at 07:56 AM.
 
Old 08-29-2003, 08:35 AM   #4
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
Never the one to bother too much (while since I've done it) with all the configure options I do:



groupadd mysql
useradd -g mysql

(to add the user mysql if you don't have a user mysql on your system, although it won't do any harm if you do)

if been compiling before
make distclean
or
make clean

./configure --prefix=/usr/local/mysql --enable-assembler --with-innodb

make

make install

cd /usr/local/mysql

./mysql_install_db
(initialises stuff)

chown -R root /usr/local/mysql
chown -R mysql /usr/local/mysql/var
chgrp -R mysql /usr/local/mysql

In the directory the source code is in:

cd support-files

cp my-small-cnf.sh /etc/my.cnf
(my.cnf is the configuration file, can use my-medium-cnf.sh or my-large.cnf.sh depending on your needs)

edit
/etc/my.cnf
to suit your needs

now your ready to startup mysql

that's about as detailed as I can get and procedure I follow
 
Old 08-29-2003, 08:35 AM   #5
Bloged
LQ Newbie
 
Registered: Aug 2003
Location: Netherlands, The
Distribution: Ubunty 6.06 (Dapper)
Posts: 9

Original Poster
Rep: Reputation: 0
Sorry... downloaded the binary... Problem should be solved by now....

Sorry... This shows how a I am....

Grtz,

Bloged
 
Old 08-29-2003, 08:37 AM   #6
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
My beautiful typing !!

 
  


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
mysql-installation: Not enough space in /var/lib/mysql/ linus123 Linux - Software 8 11-10-2006 03:19 PM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 09:44 AM
Mysql installation yussef Linux - Software 1 06-13-2005 12:49 PM
MySQL 3.23.58-14 installation prolem - mysql.sock not found lightcom Linux - Software 4 02-23-2005 01:46 AM
php4 mysql, installation, php-pages with mysql info stay empty dnla Linux - Software 2 03-14-2004 03:54 PM


All times are GMT -5. The time now is 04:03 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