<?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>geedew :: Web Design, Programming, Professionalism &#187; MySQL 5.0</title>
	<atom:link href="http://www.geedew.com/category/mysql-50/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.geedew.com</link>
	<description>Web Design, Web Programming, Programming on Linux, CSS, JavaScript, PHP, HTML5</description>
	<lastBuildDate>Thu, 22 Jul 2010 16:26:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>How To Fix: InnoDB has been disabled for this MySQL server.</title>
		<link>http://www.geedew.com/2008/05/21/how-to-fix-innodb-has-been-disabled-for-this-mysql-server/</link>
		<comments>http://www.geedew.com/2008/05/21/how-to-fix-innodb-has-been-disabled-for-this-mysql-server/#comments</comments>
		<pubDate>Wed, 21 May 2008 23:54:14 +0000</pubDate>
		<dc:creator>Drew</dc:creator>
				<category><![CDATA[MySQL 5.0]]></category>

		<guid isPermaLink="false">http://geedew.com/?p=17</guid>
		<description><![CDATA[I was in the middle of installing program that I have been working on and I encountered a very peculiar error, but I was able to eventually get the answer. Not many people have been able to come to the conclusions that I have come to, so this, I am sure, will help a few [...]]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=b02858dd9961de60a8a7d0f9efe9c758&amp;default=http://use.perl.org/images/pix.gif' alt='No Gravatar' width=20 height=20/><p>I was in the middle of installing  program that I have been working on and I encountered a very peculiar error, but I was able to eventually get the answer.  Not many people have been able to come to the conclusions that I have come to, so this, I am sure, will help a few out there.</p>
<p>I went to add some InnoDB tables and was returned with the error :</p>
<p>&#8220;InnoDB has been disabled for this MySQL server.&#8221;</p>
<p>I was running Ubuntu Gutsy with my MySQL installed via apt-get install mysql-server-5.0.</p>
<p>Now, most places on the internet keep telling me that I have to uncomment out the line &#8216;skip-innodb&#8217; from my /etc/mysql/my.cnf file.  This file is also known as my.ini file on some other *nix distributions.  I am running mysql 5.0 SO this is ALREADY uncommented.</p>
<p>After 3 apt-get -f &#8211;purge remove mysql-server-5.0  and and upgrade to Ubuntu Hardy, I recovered the answer.  You see, InnoDB is very touchy.  If it isn&#8217;t told what is going on , it just doesn&#8217;t start.  It will usually throw NO error upon this issue.  I&#8217;m not an expert as to why it does this, but that seems to be the case.  I found that there are files in the /var/lib/mysql folder that were getting pointed to in some tutorials on MySQL.com.  These files were the ibdata1 and the ib_logfile0 files.  The program is outputting it&#8217;s logs to these files.  Now, if InnoDB is supposed to be working, but it&#8217;s not, and these files are being pointed at by MyISAM&#8230; my understanding is there could be an issue with how the files were created.  I did this as root (use sudo in front of each command otherwise)..</p>
<blockquote><p>&gt;cd /var/lib/mysql</p></blockquote>
<blockquote><p>&gt;cp ibdata1 ibdata1.bak</p></blockquote>
<blockquote><p>&gt;cp ib_logfile0 ib_logfile.bak</p></blockquote>
<p>I was just backing them up in case of a misshap.  Then I had some fun&#8230;</p>
<blockquote><p>&gt;rm ibdata1 ib_logfile0</p></blockquote>
<p>After that I ran..</p>
<blockquote><p>&gt;/etc/init.d/mysql restart</p></blockquote>
<p>And now my InnoDB options are running. The files have been recreated and it solved and fixed the day <img src='http://cdn.geedew.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.geedew.com/2008/05/21/how-to-fix-innodb-has-been-disabled-for-this-mysql-server/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
