LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-05-2003, 10:54 PM   #1
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Rep: Reputation: 30
Unhappy MySQL 4.0.12 installation problem.


I usually installed rpm package whatever software I used.However,this time I want to install a tarball file of MySQL 4.0.12 on my other linux box.

Let me show you how I attempted to install this.

1.Download the tarball from mysql.com.

2.Place the tarball file at /usr/local/src(As Wrox PHP 4 book tell me)

3.Extract it with tar -xzf MySQL4.0.......tar.gz

4.Change directory with cd MySQL......

5.And do ./configure --prefix=/usr/local/mysql

6.The problem occured like this:

Starting mysqld daemon with databases from mysql-standard..../data
mysql ended.

And it freezed till I press Ctrl-C.I've tried to reinstall it but no luck.

I am a on installing tarball file because it's so confusing to me.
I prefer using rpm.However,I would like to learn how to install it with tarball.
Any suggestions are most appreciated!
 
Old 04-05-2003, 10:59 PM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Is the machine actually hard-locked? Can you open up another console session?

Never had it freeze on me like that, although I have had it not return to the bash shell prompt after an abnormal start. Have you tried just pushingh the enter key?
 
Old 04-05-2003, 11:53 PM   #3
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
I can open up a new console

Actually,I can open up a new console.However,I definitely think that it is not successfully configured.I can't 'make' the file after I open a new window.The problem is that I don't know what's the problem was.

Would anyone help me to figure it out?Many thanks.
 
Old 04-06-2003, 01:01 AM   #4
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
After you've done the 'make' and 'make install' (i think there's a make check or make test in there as well - read the INSTALL docs) you need to setup the mysql users and groups (unix), change ownership of the mysql installed binaries and database files, and then run the script that creates the permission tables within mysql. I believe the script is called mysql-createdb - refer to the INSTALL docs for your particular version.
 
Old 04-06-2003, 07:35 AM   #5
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
No this problem

mcleodnine,thanks for your quick reply.

However,my problem is that I can't even 'make' or 'make install'.

And RPM is incredibly easy to install than tarball.After this installation,I will shift to RPM...
 
Old 04-06-2003, 03:02 PM   #6
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
So what happens when you run 'make' ? Does anything actually get built?
 
Old 04-06-2003, 09:54 PM   #7
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
Nothing happens.

After I 'make' the file,it said,"No target specified and no makefile found.Stop."
I guess it went wrong when I configure the file.But I actually don't know what's the real problem.I just can't figure it out.

Thanks again,
mcleodnine

Last edited by Swift&Smart; 04-06-2003 at 09:57 PM.
 
Old 04-07-2003, 01:00 AM   #8
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
OK. What happened when you ran ./configure script? For MySQL it takes a while to complete... did it finish with no errors?
 
Old 04-07-2003, 03:24 AM   #9
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
Talking As the same as my first post

Actually,the error message is the same as my first post.

Quote:
Starting mysqld daemon with databases from mysql-standard..../data mysql ended.
It didn't successfully configure the file.I think...
 
Old 04-07-2003, 03:49 AM   #10
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
the configure script should not be generating
Quote:
Starting mysqld daemon with databases from mysql-standard..../data mysql ended.
It should start with stuff like this
Code:
checking build system type... i686-pc-linux
checking host system type... i686-pc-linux
checking target system type... i686-pc-linux
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
... and finish with stuff like this...
Code:
config.status: executing default-1 commands
config.status: executing default commands

MySQL has a Web site at http://www.mysql.com/ which carries details on the
latest release, upcoming features, and other information to make your
work or play with MySQL more productive. There you can also find
information about mailing lists for MySQL discussion.

Remember to check the platform specific part of the reference manual for
hints about installing MySQL on your platform. Also have a look at the
files in the Docs directory.

Thank you for choosing MySQL!

Last edited by mcleodnine; 04-07-2003 at 03:55 AM.
 
Old 04-07-2003, 11:54 AM   #11
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
Talking Silly

I downloaded the binary MySQL.So it doesn't need to configure or make stuff like that.

However,many problems occured besides this.....
 
  


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 problem ddaas Linux - Software 1 03-22-2005 01:47 PM
Problem with my MySQL installation jabird Red Hat 12 03-07-2005 08:40 PM
Installation problem in MySQL mchithu Linux - Software 0 01-07-2005 09:25 AM
mysql installation problem. sixth_sense Linux - General 1 04-12-2004 08:57 AM
MySQL Installation Problem userini Linux - Software 2 07-12-2003 02:13 PM


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