<?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>The Linux Noob &#187; MySQL</title>
	<atom:link href="http://thelinuxnoob.com/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://thelinuxnoob.com</link>
	<description>Fixin&#039; issues one ticket at a time</description>
	<lastBuildDate>Wed, 14 Mar 2012 16:07:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>MySQL Error in Fantastico</title>
		<link>http://thelinuxnoob.com/cpanel/mysql-error-in-fantastico/</link>
		<comments>http://thelinuxnoob.com/cpanel/mysql-error-in-fantastico/#comments</comments>
		<pubDate>Wed, 14 Mar 2012 16:07:55 +0000</pubDate>
		<dc:creator>Clayton</dc:creator>
				<category><![CDATA[cPanel]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://thelinuxnoob.com/?p=211</guid>
		<description><![CDATA[A client opened a ticket since they were receiving the following error when trying to install a script via fantasticrap&#8230;I mean fantastico. Warning: mysql_connect() [function.mysql-connect]: Access denied for user &#8216;linuxnoo&#8217;@'localhost&#8217; (using password: YES) in /tmp/cpanel_phpengine.1304688239.24500MvupN_eQWd on line 1642 Access denied for user &#8216;linuxnoo&#8217;@'localhost&#8217; (using password: YES) This issue is caused by a mismatch in the [...]]]></description>
			<content:encoded><![CDATA[<p>A client opened a ticket since they were receiving the following error when trying to install a script via fantasticrap&#8230;I mean fantastico.</p>
<blockquote><p>Warning: mysql_connect() [function.mysql-connect]: Access denied for user &#8216;linuxnoo&#8217;@'localhost&#8217; (using password: YES) in /tmp/cpanel_phpengine.1304688239.24500MvupN_eQWd on line 1642<br />
Access denied for user &#8216;linuxnoo&#8217;@'localhost&#8217; (using password: YES)</p></blockquote>
<p>This issue is caused by a mismatch in the cPanel password and the MySQL users password. You can verify this in SSH by running the following.</p>
<pre class="brush: bash; title: ; notranslate">
mysql&gt; use mysql;
mysql&gt; select user,password,password('YourPassword') from user where user='YourCpanelUser';
+----------+-----------------------------+-----------------------+
| user     | password  | password('--')          |
+----------+-----------------------------+-----------------------+
| linuxnoo | *E6.....3F | *B6.....3A |
+----------+-----------------------------+-----------------------+
2 rows in set (0.00 sec)</pre>
<p>As you can see above, the two password fields do not match so we need to update this.</p>
<pre class="brush: bash; title: ; notranslate">mysql&gt; update user set password=password('bNEQL13dvJ') where user='linuxnoo' limit 2;
mysql&gt; select user,password,password('bNEQL13dvJ') from user where user='linuxnoo';
+----------+-------------------------------------------+-------------------------------------------+
| user     | password                                  | password('bNEQL13dvJ')                    |
+----------+-------------------------------------------+-------------------------------------------+
| linuxnoo | *E6D911C8973EEDDA0CE0618EFB493E704776DB3F | *E6D911C8973EEDDA0CE0618EFB493E704776DB3F |
+----------+-------------------------------------------+-------------------------------------------+
2 rows in set (0.00 sec)
</pre>
<p>After the password update try to install again and it should work just fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxnoob.com/cpanel/mysql-error-in-fantastico/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrade MySQL4 to MySQL5 on cPanel server</title>
		<link>http://thelinuxnoob.com/linux/upgrade-mysql4-to-mysql5-on-cpanel-server/</link>
		<comments>http://thelinuxnoob.com/linux/upgrade-mysql4-to-mysql5-on-cpanel-server/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 03:22:01 +0000</pubDate>
		<dc:creator>Clayton</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://thelinuxnoob.com/?p=18</guid>
		<description><![CDATA[Upgrading MySQL versions is a quick and easy process, not much work involved. Always be sure to make a backup before you start though, just in case the upgrade fails or some other unforeseen issue arises. cp -Rpf /var/lib/mysql /var/lib/mysql.BAK Login to WHM –&#62; Tweak Settings –&#62; MySQL -&#62; 5.0  and Save settings /scripts/mysqlup &#8211;force [...]]]></description>
			<content:encoded><![CDATA[<p>Upgrading MySQL versions is a quick and easy process, not much work involved. Always be sure to make a backup before you start though, just in case the upgrade fails or some other unforeseen issue arises.</p>
<blockquote><p>cp -Rpf /var/lib/mysql /var/lib/mysql.BAK<br />
Login to WHM –&gt; Tweak Settings –&gt; MySQL -&gt; 5.0  and Save settings<br />
/scripts/mysqlup &#8211;force<br />
/scripts/perlinstaller &#8211;force Bundle::DBD::mysql<br />
/scripts/realperlinstaller &#8211;force DBD::mysql<br />
Recompile PHP</p></blockquote>
<p>You&#8217;re done <img src='http://thelinuxnoob.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxnoob.com/linux/upgrade-mysql4-to-mysql5-on-cpanel-server/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

