<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Yet Another Linux Blog &#187; MySQL</title>
	<atom:link href="http://linux-blog.org/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://linux-blog.org</link>
	<description>Open Source, Open Blog</description>
	<lastBuildDate>Fri, 03 Feb 2012 14:33:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>I can&#8217;t get MySQL to work!!! Something about mysql.sock&#8230;</title>
		<link>http://linux-blog.org/i-cant-get-mysql-to-work-something-about-mysqlsock/</link>
		<comments>http://linux-blog.org/i-cant-get-mysql-to-work-something-about-mysqlsock/#comments</comments>
		<pubDate>Sat, 04 Feb 2006 01:11:47 +0000</pubDate>
		<dc:creator>devnet</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://linux-blog.org/word/i-cant-get-mysql-to-work-something-about-mysqlsock/</guid>
		<description><![CDATA[So you&#8217;ve got problems getting MySQL to start? You&#8217;re not alone. There are a couple of things you can do to get things rolling. Linux comes with a database that tells it how to add MySQL users and MySQL tables. However, MySQL is not started by default&#8230;and if it is, it requires that default table [...]]]></description>
			<content:encoded><![CDATA[<p><img style="border: 0px none ; float: left; padding-left: 5px; padding-right: 5px;" src="/uploads/HDTuxntoshfail.Thumbs.png" alt="" width="110" height="110" /><br />
So you&#8217;ve got problems getting MySQL to start? You&#8217;re not alone. There are a couple of things you can do to get things rolling. Linux comes with a database that tells it how to add MySQL users and MySQL tables. However, MySQL is not started by default&#8230;and if it is, it requires that default table to be created before it can run without incident. Here are the commands you can issue to get things going:</p>
<pre class="brush: plain; title: ; notranslate">cd /usr/bin</pre>
<pre class="brush: plain; title: ; notranslate">su mysql</pre>
<pre class="brush: plain; title: ; notranslate">mysql_install_db</pre>
<p>Lastly, issue the command:</p>
<p>mysqld_safe &amp;</p>
<p>What you&#8217;ve just done is logged into you Linux box as user mysql, then installed the default database&#8230;and then with the mysqld_safe &amp; command you initiated the mysql daemon to run in the background. So, things should be good to go now. MySQL is running and you&#8217;ll be able to press on with things by adding users and databases.</p>
<p>A bit more info for you&#8230;creating databases and users can get tedious via the linux prompt. You can use phpmyadmin or webmin to automate this process and save yourself time and effort.</p>
<p><img style="border: 0px none ; padding-left: 5px; padding-right: 5px;" src="/uploads/signature2.Thumbs.gif" alt="" width="110" height="50" /></p>
<p><a href="http://linux-blog.org/i-cant-get-mysql-to-work-something-about-mysqlsock/" rel="bookmark">I can&#8217;t get MySQL to work!!! Something about mysql.sock&#8230;</a> originally appeared on <a href="http://linux-blog.org">Yet Another Linux Blog</a> on February 4, 2006.</p>
]]></content:encoded>
			<wfw:commentRss>http://linux-blog.org/i-cant-get-mysql-to-work-something-about-mysqlsock/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

