LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   MySQL 4.0.12 installation problem. (https://www.linuxquestions.org/questions/linux-software-2/mysql-4-0-12-installation-problem-53632/)

Swift&Smart 04-05-2003 09:54 PM

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 :newbie: 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!:D

mcleodnine 04-05-2003 09:59 PM

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?

Swift&Smart 04-05-2003 10:53 PM

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.:D

mcleodnine 04-06-2003 12:01 AM

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.

Swift&Smart 04-06-2003 06:35 AM

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...:D

mcleodnine 04-06-2003 02:02 PM

So what happens when you run 'make' ? Does anything actually get built?

Swift&Smart 04-06-2003 08:54 PM

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

mcleodnine 04-07-2003 12:00 AM

OK. What happened when you ran ./configure script? For MySQL it takes a while to complete... did it finish with no errors?

Swift&Smart 04-07-2003 02:24 AM

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...:cool:

mcleodnine 04-07-2003 02:49 AM

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!


Swift&Smart 04-07-2003 10:54 AM

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

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


All times are GMT -5. The time now is 08:48 PM.