Mysql installation advice

sgoldman sgoldman at MIT.EDU
Sat Apr 14 11:20:52 EDT 2007


Hello,
    I been  trying to install MySQL-server-community-5.0.37-0.rhel4.i386.rpm on RHEL4. The installation driections on mysql.com are not good. There next to no help of the insatllation forum on mysql.com

    It would be great the get a advice from others - 

root at tophat etc]# uname -a

Linux tophat.northwayhome.com 2.6.9-42.EL #1 Wed Jul 12 23:16:43 EDT 2006 i686 i686 i386 GNU/Linux

[root at tophat etc]# 



[root at tophat ~]# rpm -i MySQL-server-community-5.0.37-0.rhel4.i386.rpm 

warning: MySQL-server-community-5.0.37-0.rhel4.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !

To do so, start the server, then issue the following commands:

/usr/bin/mysqladmin -u root password 'new-password'

/usr/bin/mysqladmin -u root -h tophat.northwayhome.com password 'new-password'

See the manual for more instructions.

Please report any problems with the /usr/bin/mysqlbug script!

The latest information about MySQL is available on the web at

http://www.mysql.com

Support MySQL by buying support/licenses at http://shop.mysql.com

Starting MySQL../etc/init.d/mysql: line 151: kill: (10875) - No such process

[FAILED]



[root at tophat ~]# cd /etc

[root at tophat etc]# ls



Copied MISSING MY.CNF FROM WEB SITE

[root at tophat etc]# more my.cnf 

[mysqld]

dir=/usr/local/mysql/var

socket=/var/tmp/mysql.sock

port=3306

user=mysql

[mysql.server]

basedir=/usr/local/mysql





Modified MY.CNF FILE 

[root at tophat etc]# vi my.cnf

[mysqld]

dir=/usr/local/mysql/var

socket=/var/tmp/mysql.sock

port=3306

user=mysql

[mysql.server]

#basedir=/usr/local/mysql

basedir=/var/lib/mysql 



[root at tophat etc]# service mysql start

Starting MySQLCouldn't find MySQL manager or server [FAILED]

Stephen Goldman 
System Administrator
MIT Biology
sgoldman at mit.edu 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Discuss mailing list