Garayed.com  

Go Back   Garayed.com > mySQL
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-21-2006, 04:22 PM
Scott
 
Posts: n/a
Default Installation on Fedora 4

I've downloaded and run the rpm's for MySQL 5.019, both client and
server. Now when I type mysql start at a command prompt, I get "Can't
connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)

Where do I go from here? I'm a linux newbie, btw.

Scott

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-22-2006, 12:29 AM
Scott
 
Posts: n/a
Default Re: Installation on Fedora 4

Thanks, Bill. That seemed to do the trick.

Now, on to PHP...

On Tue, 2006-03-21 at 13:48 -0800, Bill Karwin wrote:

> "Scott" <nospam@nospam> wrote in message
> news:1142968573.8266.49.camel@localhost.localdomai n...
> > Thank you for the additional info. The command you suggested gave the
> > following error:
> > Starting MySQLCouldn't find MySQL manager or server [FAILED]

>
> First, make sure you are not running SElinux (security enhancements),
> because MySQL won't run with SElinux enabled. See
> http://bugs.mysql.com/bug.php?id=12676. You can turn off SElinux with this
> command at a root shell prompt:
>
> # setenforce 0
>
> See this following bug logs:
> "mysql 5.0 will not start on fedora core 4":
> http://bugs.mysql.com/bug.php?id=15104
> "/etc/init.d/mysql script doesn't work under fedora core 4"
> http://bugs.mysql.com/bug.php?id=14457
>
> Fedora Core 4 comes with MySQL 4.0 if I recall correctly. The RPM for MySQL
> 5.0 puts some files in different places than the corresponding files reside
> in the FC4 installation of MySQL 4.0. So the /etc/init.d/mysql file or the
> /etc/my.cnf file contain settings that direct the software to look for its
> datadir in the wrong place.
>
> Apparently the installation of MySQL 5.0 does not replace the
> /etc/init.d/mysql script or the /etc/my.cnf file. That's okay -- it's
> traditional not to overwrite existing config files during an installation,
> because the user might have some settings they don't want to lose.
>
> So you could remove the files /etc/init.d/mysql and /etc/my.cnf that were
> left over from the previous installation of MySQL, then reinstall MySQL 5.0
> to get the new copies of those files, containing the settings that are
> correct for MySQL 5.0.
>
> Regards,
> Bill K.
>
>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 10:26 PM.




LinkBacks Enabled by vBSEO 3.0.0 © 2007, Crawlability, Inc.