Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-22-2007, 08:07 AM   #1
LQ Newbie
Registered: Oct 2007
Posts: 5

Rep: Reputation: 0
How to overcome the RPM "mysql-5.0.27-1.fc6" conflict with mysql database starting


I am having problem with mysql starting today in linux fedora core 6, i installed some RPMs from the net for skype installation, i think i am facing the problem after that installation.

I tried starting mysql from /usr/local, the location where i installed mysql

but after executing this command " bin/mysqld_safe --user=mysql &"

Its coming like mysql is starting from /var/lib/mysql, which i never mentioned

and message coming like "STOPPING server from pid file /var/run/mysqld/"

But there is no directory named mysqld or file in /var/run location.

I posted a thread in this discussion forum and got the reply as

“Chances are something has overwritten your /etc/my.cnf file. You may want to check and re-edit it. You can also check to see if there is a copy left behind with a .rpmsave extension.

You should also use 'rpm -qf /etc/my.cnf' to check if there is an RPM that owns the replaced file, as it may have added other items that are going to cause you problems.”

As per the reply, i executed the command “ rpm -qf /etc/my.cnf” .The rpm “mysql-5.0.27-1.fc6” is displayed.

Can u please guide me what i need to do further,shall i need to delete that rpm or how can i continue with the mysql without conflict.

And also i checked for a file named my.cnf in my /etc/ folder, the file is exist there, but before that i am not having that my.conf file, so i removed that file and tried starting mysql, then its coming like

[root@localhost mysql1]# bin/mysqld_safe --user=mysql &
[1] 3695
[root@localhost mysql1]# Starting mysqld daemon with databases from /usr/local/mysql1/data
STOPPING server from pid file /usr/local/mysql1/data/
071022 13:01:09 mysqld ended

Thank you
Best Regards


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Buzilla issue: "Can't connect to local MySQL server through socket '/tmp/mysql.sock'" vitopn Linux - General 3 05-21-2007 11:13 AM
"Out the box" security of Apache, PHP and MySQL on FC6 lostjohnny Linux - Security 3 05-09-2007 05:15 AM
FC6 - General starting issues, HIDP and AutoFS "Failed" tiger.woods Fedora 2 01-16-2007 10:35 PM
MySQL, dumping, restoring, the "mysql" db johnMG Linux - Software 3 02-13-2006 04:36 PM
MySQL setup stops at command "./configure --prefix=/usr/local/mysql" k41184 Linux - Software 1 05-20-2004 03:44 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration