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 |
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? |
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 |
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.
|
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 |
So what happens when you run 'make' ? Does anything actually get built?
|
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 |
OK. What happened when you ran ./configure script? For MySQL it takes a while to complete... did it finish with no errors?
|
As the same as my first post
;) Actually,the error message is the same as my first post.
Quote:
|
the configure script should not be generating
Quote:
Code:
checking build system type... i686-pc-linux Code:
config.status: executing default-1 commands |
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. |