<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: i am misserable</title>
	<atom:link href="http://blog.johnjosephbachir.org/2005/01/30/i-am-misserable/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.johnjosephbachir.org/2005/01/30/i-am-misserable/</link>
	<description>John Joseph Bachir's blog</description>
	<pubDate>Fri, 29 Aug 2008 20:24:08 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: Robert</title>
		<link>http://blog.johnjosephbachir.org/2005/01/30/i-am-misserable/#comment-221024</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Fri, 04 Jan 2008 16:06:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johnjosephbachir.org/?p=119#comment-221024</guid>
		<description>I fixed this problem on my server.

Somehow when I stopped mysqld, the owner of /var/run/mysqld (the location of the pid) was obliterated -- the folder was owned by no one.  I chown'd it back to mysql and mysqld started up normally.  Hope this helps someone.</description>
		<content:encoded><![CDATA[<p>I fixed this problem on my server.</p>
<p>Somehow when I stopped mysqld, the owner of /var/run/mysqld (the location of the pid) was obliterated &#8212; the folder was owned by no one.  I chown&#8217;d it back to mysql and mysqld started up normally.  Hope this helps someone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://blog.johnjosephbachir.org/2005/01/30/i-am-misserable/#comment-2994</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Tue, 07 Jun 2005 07:04:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johnjosephbachir.org/?p=119#comment-2994</guid>
		<description>I had the same problem. Seems I already had another MySQL process running somehow! After killing it, I was able to run mysqld_safe successfully.</description>
		<content:encoded><![CDATA[<p>I had the same problem. Seems I already had another MySQL process running somehow! After killing it, I was able to run mysqld_safe successfully.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Pan</title>
		<link>http://blog.johnjosephbachir.org/2005/01/30/i-am-misserable/#comment-83</link>
		<dc:creator>Peter Pan</dc:creator>
		<pubDate>Tue, 08 Feb 2005 01:20:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johnjosephbachir.org/?p=119#comment-83</guid>
		<description>Great. Thats the solution. Spread the word!</description>
		<content:encoded><![CDATA[<p>Great. Thats the solution. Spread the word!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JJB</title>
		<link>http://blog.johnjosephbachir.org/2005/01/30/i-am-misserable/#comment-82</link>
		<dc:creator>JJB</dc:creator>
		<pubDate>Mon, 07 Feb 2005 03:22:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johnjosephbachir.org/?p=119#comment-82</guid>
		<description>&lt;a href="http://blog.johnjosephbachir.org/index.php?p=122"&gt;this link :-D&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p><a href="http://blog.johnjosephbachir.org/index.php?p=122">this link :-D</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JJB</title>
		<link>http://blog.johnjosephbachir.org/2005/01/30/i-am-misserable/#comment-81</link>
		<dc:creator>JJB</dc:creator>
		<pubDate>Mon, 07 Feb 2005 03:22:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johnjosephbachir.org/?p=119#comment-81</guid>
		<description>Check out this link for my solution</description>
		<content:encoded><![CDATA[<p>Check out this link for my solution</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Pan</title>
		<link>http://blog.johnjosephbachir.org/2005/01/30/i-am-misserable/#comment-80</link>
		<dc:creator>Peter Pan</dc:creator>
		<pubDate>Mon, 07 Feb 2005 02:21:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johnjosephbachir.org/?p=119#comment-80</guid>
		<description>It's a known bug. 
And it hasn't been fixed, no matter what this thread claims.
http://bugs.mysql.com/bug.php?id=7535</description>
		<content:encoded><![CDATA[<p>It&#8217;s a known bug.<br />
And it hasn&#8217;t been fixed, no matter what this thread claims.<br />
<a href="http://bugs.mysql.com/bug.php?id=7535" rel="nofollow">http://bugs.mysql.com/bug.php?id=7535</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JJB</title>
		<link>http://blog.johnjosephbachir.org/2005/01/30/i-am-misserable/#comment-67</link>
		<dc:creator>JJB</dc:creator>
		<pubDate>Sat, 05 Feb 2005 19:21:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johnjosephbachir.org/?p=119#comment-67</guid>
		<description>here's some more info. from the error log (and no, i don't have another mysqld running):

# cat /usr/local/mysql/data/127.0.0.1.err 
050205 14:18:37  mysqld started
050205 14:18:37 [Warning] Setting lower_case_table_names=2 because file system for /usr/local/mysql/data/ is case insensitive
050205 14:18:37 [ERROR] Can't start server : Bind on unix socket: Permission denied
050205 14:18:37 [ERROR] Do you already have another mysqld server running on socket: /tmp/mysql.sock ?
050205 14:18:37 [ERROR] Aborting

050205 14:18:37 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete

050205 14:18:37  mysqld ended</description>
		<content:encoded><![CDATA[<p>here&#8217;s some more info. from the error log (and no, i don&#8217;t have another mysqld running):</p>
<p># cat /usr/local/mysql/data/127.0.0.1.err<br />
050205 14:18:37  mysqld started<br />
050205 14:18:37 [Warning] Setting lower_case_table_names=2 because file system for /usr/local/mysql/data/ is case insensitive<br />
050205 14:18:37 [ERROR] Can&#8217;t start server : Bind on unix socket: Permission denied<br />
050205 14:18:37 [ERROR] Do you already have another mysqld server running on socket: /tmp/mysql.sock ?<br />
050205 14:18:37 [ERROR] Aborting</p>
<p>050205 14:18:37 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete</p>
<p>050205 14:18:37  mysqld ended</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JJB</title>
		<link>http://blog.johnjosephbachir.org/2005/01/30/i-am-misserable/#comment-44</link>
		<dc:creator>JJB</dc:creator>
		<pubDate>Wed, 02 Feb 2005 08:03:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johnjosephbachir.org/?p=119#comment-44</guid>
		<description>Hi troy (the first non-acquaintance commenter on my blog :-) )

That doesn't work either:

john@g5bachir:~$ sudo mysqld_safe
Password:
Starting mysqld daemon with databases from /usr/local/mysql/data
STOPPING server from pid file /usr/local/mysql/data/g5bachir.local.pid
050202 03:01:14  mysqld ended

john@g5bachir:~$ su -
Password:
g5bachir:~ root# /usr/local/mysql/bin/mysqld_safe 
Starting mysqld daemon with databases from /usr/local/mysql/data
STOPPING server from pid file /usr/local/mysql/data/g5bachir.local.pid
050202 03:01:41  mysqld ende</description>
		<content:encoded><![CDATA[<p>Hi troy (the first non-acquaintance commenter on my blog :-) )</p>
<p>That doesn&#8217;t work either:</p>
<p>john@g5bachir:~$ sudo mysqld_safe<br />
Password:<br />
Starting mysqld daemon with databases from /usr/local/mysql/data<br />
STOPPING server from pid file /usr/local/mysql/data/g5bachir.local.pid<br />
050202 03:01:14  mysqld ended</p>
<p>john@g5bachir:~$ su -<br />
Password:<br />
g5bachir:~ root# /usr/local/mysql/bin/mysqld_safe<br />
Starting mysqld daemon with databases from /usr/local/mysql/data<br />
STOPPING server from pid file /usr/local/mysql/data/g5bachir.local.pid<br />
050202 03:01:41  mysqld ende</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Troy Johnson</title>
		<link>http://blog.johnjosephbachir.org/2005/01/30/i-am-misserable/#comment-43</link>
		<dc:creator>Troy Johnson</dc:creator>
		<pubDate>Tue, 01 Feb 2005 20:50:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johnjosephbachir.org/?p=119#comment-43</guid>
		<description>If that works, you can probably set the file ownership back to their original values and see if it still works. It will be a bit more secure that way.</description>
		<content:encoded><![CDATA[<p>If that works, you can probably set the file ownership back to their original values and see if it still works. It will be a bit more secure that way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Troy Johnson</title>
		<link>http://blog.johnjosephbachir.org/2005/01/30/i-am-misserable/#comment-42</link>
		<dc:creator>Troy Johnson</dc:creator>
		<pubDate>Tue, 01 Feb 2005 20:48:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johnjosephbachir.org/?p=119#comment-42</guid>
		<description>try this:

sudo mysqld_safe

to start it.

mysqld_safe probably changes it's effective user id, which may be something only root can do.</description>
		<content:encoded><![CDATA[<p>try this:</p>
<p>sudo mysqld_safe</p>
<p>to start it.</p>
<p>mysqld_safe probably changes it&#8217;s effective user id, which may be something only root can do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JJB</title>
		<link>http://blog.johnjosephbachir.org/2005/01/30/i-am-misserable/#comment-14</link>
		<dc:creator>JJB</dc:creator>
		<pubDate>Sun, 30 Jan 2005 22:21:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johnjosephbachir.org/?p=119#comment-14</guid>
		<description>hmm, well it dies differently now. i've seen this behvior before. i'm not sure what the circumstances are.

john@g5bachir:~$ sudo chmod -R 777 /usr/local/mysql                                          
john@g5bachir:~$ mysqld_safe 
Starting mysqld daemon with databases from /usr/local/mysql/data
STOPPING server from pid file /usr/local/mysql/data/g5bachir.local.pid
050130 17:20:22  mysqld ended</description>
		<content:encoded><![CDATA[<p>hmm, well it dies differently now. i&#8217;ve seen this behvior before. i&#8217;m not sure what the circumstances are.</p>
<p>john@g5bachir:~$ sudo chmod -R 777 /usr/local/mysql<br />
john@g5bachir:~$ mysqld_safe<br />
Starting mysqld daemon with databases from /usr/local/mysql/data<br />
STOPPING server from pid file /usr/local/mysql/data/g5bachir.local.pid<br />
050130 17:20:22  mysqld ended</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: josh</title>
		<link>http://blog.johnjosephbachir.org/2005/01/30/i-am-misserable/#comment-12</link>
		<dc:creator>josh</dc:creator>
		<pubDate>Sun, 30 Jan 2005 21:46:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.johnjosephbachir.org/?p=119#comment-12</guid>
		<description>do you know which user the safe daemon is running with?  Maybe it's not 'mysql'?  Anyway, can you just chmod -R 777 * in the data dir (or even the whole mysql dir), then pull back perms after that?</description>
		<content:encoded><![CDATA[<p>do you know which user the safe daemon is running with?  Maybe it&#8217;s not &#8216;mysql&#8217;?  Anyway, can you just chmod -R 777 * in the data dir (or even the whole mysql dir), then pull back perms after that?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
