MySQL Forums
Forum List  »  Install & Repo

An installation issue of mysql-6.0.3-alpha in Redhat Linux 9 from source
Posted by: wang wu
Date: January 21, 2008 08:12PM

Hello,I am a newer fro mysql.

When I install mysql-6.0.3-alpha in Redhat Linux 9 from soucer,the follow tips appear.

[root@localhost mysql-6.0.3-alpha]# support-files/mysql.server start
Starting MySQLsupport-files/mysql.server: line 159: kill: (18886) - No such process
[FAILED]
the operations I have done is bellow:

1.I put the mysql-6.0.3-alpha.tar.gz /root/mySQL

2.then
[root@localhost ~]# cd /usr/local
[root@localhost local]#tar xzvf mysql-6.0.3-alpha.tar.gz
...

3.compile
[root@localhost local]# cd mysql-6.0.3-alpha
[root@localhost mysql-6.0.3-alpha]#./configure
...
[root@localhost mysql-6.0.3-alpha]#make
...
[root@localhost mysql-6.0.3-alpha]#make install

4.craete user mysql
[root@localhost mysql-6.0.3-alpha]#groupadd mysql
[root@localhost mysql-6.0.3-alpha]#useradd -g mysql mysql

5.Ensure that the distribution contents are accessible to mysql.
[root@localhost mysql-6.0.3-alpha]#chown -R mysql .
[root@localhost mysql-6.0.3-alpha]#chgrp -R mysql .

6.create the MySQL data directory and initialize the grant tables:
[root@localhost mysql-6.0.3-alpha]# scripts/mysql_install_db --user=mysql --ldata=.
Installing MySQL system tables...
OK
Filling help tables...
OK

To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/local/bin/mysqladmin -u root password 'new-password'
/usr/local/bin/mysqladmin -u root -h localhost.localdomain password 'new-password'

Alternatively you can run:
/usr/local/bin/mysql_secure_installation

which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.

See the manual for more instructions.

You can start the MySQL daemon with:
cd /usr/local ; /usr/local/bin/mysqld_safe &

You can test the MySQL daemon with mysql-test-run.pl
cd mysql-test ; perl mysql-test-run.pl

Please report any problems with the /usr/local/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

7.start the mysql server.
[root@localhost mysql-6.0.3-alpha]# support-files/mysql.server start
Starting MySQLsupport-files/mysql.server: line 159: kill: (19150) - No such process
[FAILED]
[root@localhost mysql-6.0.3-alpha]#

Maybe it's fault of the scripts mysql.server.I am puzzling!



Edited 1 time(s). Last edit at 01/21/2008 08:13PM by wang wu.

Options: ReplyQuote


Subject
Written By
Posted
An installation issue of mysql-6.0.3-alpha in Redhat Linux 9 from source
January 21, 2008 08:12PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.