MySQL Forums
Forum List  »  Install & Repo

installing with yum
Posted by: matt davies
Date: May 16, 2007 04:44AM

Hello everyone

I've successfully installed mysql using yum on fedora core 6 and started it like so

yum install mysql
yum install mysql-server
yum install mysql-devel
chgrp -R mysql /var/lib/mysql
chmod -R 770 /var/lib/mysql
service mysqld start

It states in the ouptut of the last command to copy and paste mysql.server into the appropriate runlevel area for your install.

I can't find the file mysql.server on the machine anywhere. Anyone know where it is or how to proceed?

It also states to set the passwords for your root account like so

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

But once you've ran the first command, how do you put the new password into the second command?

I try and run the second command but it fails saying root can't login without using password, as i've just set it.

I've tried putting -p 'password-value' into the command but I must be putting it in the wrong part of the command.

Any help will be greatly appreciated.

Options: ReplyQuote

Written By
installing with yum
May 16, 2007 04:44AM
May 16, 2007 04:57AM
May 16, 2007 05:08AM
October 16, 2008 09:58PM

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.