Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MySQL Problems

Status
Not open for further replies.

MarksSE

MIS
Apr 14, 2003
33
US
I've tried installing MySQL 4.0.12, then 3.23.56 when the newer release wouldn't work. Neither version will do the 'make' or 'make install' commands. I'm running it on RedHat Linux 7.1. The message I get is

make: *** No targets specified and no makefile found. Stop.


Any help or tips would be greatly appeciated,

Mark
 
Here's a more thorough description of my problems:

I've tried installing MySQL 4.0.12, then removed it and tried version 3.23.56 when the newer release wouldn't work. Neither version will do the 'make' or 'make install' commands. I'm running it on RedHat Linux 7.1. The message I get is

make: *** No targets specified and no makefile found. Stop.


When I try the 'safe_mysqld &' command to start MySQL, it at first gives me a PID, like it's starting correctly, says "Starting mysqld daemon with databases from /var/lib/mysql", then says mysqld ended a second or two later. I also can't do any 'mysqladmin' commands, can't set the password, create any databases, etc.

Any help or tips would be greatly appeciated. Thanks,

Mark


 
I did a './configure' and it appeared to run, then says "mysqld ended" at the end of running the configuration. I've installed this thing straight from the README file that came with the tarball, because I've never setup MySQL before and didn't want to mess up the installation of it. It's been quite a pain to get fixed!

Mark
 
Can you tell I'm grabbing at straws! 8)

so let me go through the steps
you dl the tarball
then

gunzip mysql-version.tar.gz | tar -xvf -
cd mysql-version
./configure --prefix=/usr/local/mysql
make
make install

but you get an error on the make?
 
There's NO 'make' functionality ANYWHERE with this version of MySQL that I can find. It's confusing, where should the 'make' files be??? What exact directory should I be to run the ./make?

Mark
 
If you have the source code and have to compile then you do that via MAKE which is often created by ./configure
now if you have a binary distribution (ie the code is already compiled then you just have most likely untar it and then do a bit of config management to get it running.

I'd look into getting an official distro from mysql as your tar ball might not be complete.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top