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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-28-2003, 03:45 PM
|
#1
|
LQ Newbie
Registered: Aug 2003
Location: Netherlands, The
Distribution: Ubunty 6.06 (Dapper)
Posts: 9
Rep:
|
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?
|
|
|
08-28-2003, 05:10 PM
|
#2
|
Senior Member
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120
Rep:
|
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.
|
|
|
08-29-2003, 06:53 AM
|
#3
|
LQ Newbie
Registered: Aug 2003
Location: Netherlands, The
Distribution: Ubunty 6.06 (Dapper)
Posts: 9
Original Poster
Rep:
|
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 06:56 AM.
|
|
|
08-29-2003, 07:35 AM
|
#4
|
Senior Member
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120
Rep:
|
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
|
|
|
08-29-2003, 07:35 AM
|
#5
|
LQ Newbie
Registered: Aug 2003
Location: Netherlands, The
Distribution: Ubunty 6.06 (Dapper)
Posts: 9
Original Poster
Rep:
|
Sorry... downloaded the binary... Problem should be solved by now....
Sorry... This shows how a I am....
Grtz,
Bloged
|
|
|
08-29-2003, 07:37 AM
|
#6
|
Senior Member
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120
Rep:
|
My beautiful typing !!
|
|
|
All times are GMT -5. The time now is 02:10 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|