Dan Cyr wrote:

> No clue.
> 
> You might want to give the source a go.
> OR....
> 
> AHA Most likely this is the problem
> RPM files for (RedHat) Linux (Intel and source)
> Note: To get MySQL to work with RedHat 5.0 you have to get the newest Perl
> and libc from Redhat errata
> 
> http://www.happysize.co.jp/mysql/
> http://www.happysize.co.jp/mysql/Downloads/MySQL-3.21/RPMS/
> 
> Kewl, I'm gonna download the 4.2 rpms......We are gonna be starting an sql
> project soon. =)
> 

hmm.  well I've got libc-5.3.12-25 which seems to be the newest.  also
I've got 
perl-5.004-4 which also seems to be the newest so I doubt that is the
problem.  this time I got the following error...

----------
[root@benway RPMs]# rpm -ivh mysql-3.21.26-1.i386.rpm 
mysql                      
##################################################
Initializing Grant Tables
Database "mysql" created.
ERROR 2002: Can't connect to local MySQL server
mysqladmin: connect to server at 'localhost' failed; error: 'Can't
connect to local MySQL server'
Check that mysqld is running and that the socket:
'/var/lib/mysql/mysql.sock' exists!
mysqladmin: connect to server at 'localhost' failed; error: 'Can't
connect to local MySQL server'
Check that mysqld is running and that the socket:
'/var/lib/mysql/mysql.sock' exists!
Starting mysqld
-----------

so I change to /etc/rc.d/init.d and do the following:

---------------
[root@benway init.d]# ./mysql start 
Starting mysql: mysql
[root@benway init.d]# ./mysql status
mysqld is stopped
--------------


It just doesn't seem to want to start.

the part of the script that tries to start it is 

-----------
 start)
       if test -x $bindir/safe_mysqld
       then
         # -l means start with log.
         echo -n "Starting mysql: "
         $bindir/safe_mysqld -l > /dev/null 2>&1 &
         echo "mysql"
         touch /var/lock/subsys/mysql
       else
         echo "Can't execute $bindir/safe_mysqld"
       fi
       ;;
---------

If I try to do it by hand I get no errors but it still doesn't work ...

-----------
[root@benway rob]#  /usr/bin/safe_mysqld
Starting mysqld demon with databases from /var/lib/mysql
mysqld demon ended
------------

if anyone has any suggestions I'm wide open.

thanks,

rob


-- 
Robert Goodwin                                   
[EMAIL PROTECTED]     

Whom the gods wish to destroy they first call promising.


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to