<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Mysql Database Server Installation and Configuration in Ubuntu</title>
	<atom:link href="http://www.debianadmin.com/mysql-database-server-installation-and-configuration-in-ubuntu.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.debianadmin.com/mysql-database-server-installation-and-configuration-in-ubuntu.html</link>
	<description>Debian/Ubuntu Linux System Administration Tutorials,Howtos,Tips</description>
	<lastBuildDate>Mon, 06 Feb 2012 02:01:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: DaveE</title>
		<link>http://www.debianadmin.com/mysql-database-server-installation-and-configuration-in-ubuntu.html/comment-page-1#comment-8248</link>
		<dc:creator>DaveE</dc:creator>
		<pubDate>Wed, 02 Mar 2011 17:04:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/43.html#comment-8248</guid>
		<description>Another Greenhorn. I have a LAMP installed on my Windows XP that I have had running for years, configuring websites before uploading them online. Now, having Meerkat 10.10 installed (dual booting with my XP) along with a LAMP, I have Apache2 and PHP working. To do this, I had to mount my existing Windows NTFS partition so it would recognize my websites under localhost, which I repointed from /var/www to my existing website directory /media/Sokkit/.

Now, after installing MySql, I cannot get it to recognize my existing databases, already installed in XP under the same partition: /media/Sokkit/Sokkit/mysql4/data. Can someone advise what configurations are required to repoint the default database directory to my existing one, along with any permissions I might have to change on the databases? Being a Greenhorn, I would really appreciate if I need to change anything, if you would provide how I can find the existing settings too, so I know what I am changing to what?

Thanks,</description>
		<content:encoded><![CDATA[<p>Another Greenhorn. I have a LAMP installed on my Windows XP that I have had running for years, configuring websites before uploading them online. Now, having Meerkat 10.10 installed (dual booting with my XP) along with a LAMP, I have Apache2 and PHP working. To do this, I had to mount my existing Windows NTFS partition so it would recognize my websites under localhost, which I repointed from /var/www to my existing website directory /media/Sokkit/.</p>
<p>Now, after installing MySql, I cannot get it to recognize my existing databases, already installed in XP under the same partition: /media/Sokkit/Sokkit/mysql4/data. Can someone advise what configurations are required to repoint the default database directory to my existing one, along with any permissions I might have to change on the databases? Being a Greenhorn, I would really appreciate if I need to change anything, if you would provide how I can find the existing settings too, so I know what I am changing to what?</p>
<p>Thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Randy</title>
		<link>http://www.debianadmin.com/mysql-database-server-installation-and-configuration-in-ubuntu.html/comment-page-1#comment-7261</link>
		<dc:creator>Randy</dc:creator>
		<pubDate>Tue, 14 Dec 2010 18:42:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/43.html#comment-7261</guid>
		<description>Okay so here goes a greenhorn looking for some help. I have installed Ubuntu 10.10 on a virtual drive (using VMWare). When I installed the ISO onto the virtual drive, it does not install LAMP, openSSH sevrer nor mySQL. Is there a way to manually install this from the Ubuntu 10.10-AMD64 ISO or the DvD I wrote? I am using the VMWare on a Windows 7 environment. I can get to the point of pinging the outside world, so I am good to that point. Any help is appreciated.</description>
		<content:encoded><![CDATA[<p>Okay so here goes a greenhorn looking for some help. I have installed Ubuntu 10.10 on a virtual drive (using VMWare). When I installed the ISO onto the virtual drive, it does not install LAMP, openSSH sevrer nor mySQL. Is there a way to manually install this from the Ubuntu 10.10-AMD64 ISO or the DvD I wrote? I am using the VMWare on a Windows 7 environment. I can get to the point of pinging the outside world, so I am good to that point. Any help is appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexis</title>
		<link>http://www.debianadmin.com/mysql-database-server-installation-and-configuration-in-ubuntu.html/comment-page-1#comment-6309</link>
		<dc:creator>Alexis</dc:creator>
		<pubDate>Thu, 09 Dec 2010 05:03:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/43.html#comment-6309</guid>
		<description>The 2nd comment did the trick for me. You&#039;re my hero too.</description>
		<content:encoded><![CDATA[<p>The 2nd comment did the trick for me. You&#8217;re my hero too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: superkey</title>
		<link>http://www.debianadmin.com/mysql-database-server-installation-and-configuration-in-ubuntu.html/comment-page-1#comment-5500</link>
		<dc:creator>superkey</dc:creator>
		<pubDate>Fri, 06 Aug 2010 18:01:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/43.html#comment-5500</guid>
		<description>Grant and Simon Taylor, you must start the daemon before logging in; remember, you are trying to log into the MySQL database management, not the MySQL user.</description>
		<content:encoded><![CDATA[<p>Grant and Simon Taylor, you must start the daemon before logging in; remember, you are trying to log into the MySQL database management, not the MySQL user.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iyanla</title>
		<link>http://www.debianadmin.com/mysql-database-server-installation-and-configuration-in-ubuntu.html/comment-page-1#comment-5049</link>
		<dc:creator>iyanla</dc:creator>
		<pubDate>Mon, 24 May 2010 04:02:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/43.html#comment-5049</guid>
		<description>Hi, 
I want to edit innodb_lock_wait_timeout from the default value of 50 to 500.
But it seemed like i cant change it. I tried this using these command. sudo vi /etc/mysql/my.cnf and paste innodb_lock_wait_timeout=500

Please help. 
Thanks</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I want to edit innodb_lock_wait_timeout from the default value of 50 to 500.<br />
But it seemed like i cant change it. I tried this using these command. sudo vi /etc/mysql/my.cnf and paste innodb_lock_wait_timeout=500</p>
<p>Please help.<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: muhammad-hafiz</title>
		<link>http://www.debianadmin.com/mysql-database-server-installation-and-configuration-in-ubuntu.html/comment-page-1#comment-4852</link>
		<dc:creator>muhammad-hafiz</dc:creator>
		<pubDate>Sun, 11 Apr 2010 07:26:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/43.html#comment-4852</guid>
		<description>Hi.
I have a question. After I do #bind=127.0.0.1 and in my.cnf and put a new line in /etc/hosts like this:

127.0.0.1 (hostname)     localhost.localdomain  localhost
127.0.0.1 ubuntuseekers  me.newdomain.com       me (alias) &lt;- new line in /etc/hosts

After done 2 steps above, I still can&#039;t open the new domain at another PC?
Can you assist me, and please e-mail me your answers.
Thanks in advance ;)</description>
		<content:encoded><![CDATA[<p>Hi.<br />
I have a question. After I do #bind=127.0.0.1 and in my.cnf and put a new line in /etc/hosts like this:</p>
<p>127.0.0.1 (hostname)     localhost.localdomain  localhost<br />
127.0.0.1 ubuntuseekers  me.newdomain.com       me (alias) &lt;- new line in /etc/hosts</p>
<p>After done 2 steps above, I still can&#039;t open the new domain at another PC?<br />
Can you assist me, and please e-mail me your answers.<br />
Thanks in advance <img src='http://www.debianadmin.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Omar</title>
		<link>http://www.debianadmin.com/mysql-database-server-installation-and-configuration-in-ubuntu.html/comment-page-1#comment-4506</link>
		<dc:creator>Omar</dc:creator>
		<pubDate>Mon, 01 Mar 2010 21:20:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/43.html#comment-4506</guid>
		<description>Hi, 
i have installed mysql server and it&#039;s working fine, any idea how i can disable it from auto starting as a service.
i am new to ubuntu so maybe this is an ubuntu thing! 
thanks in advance</description>
		<content:encoded><![CDATA[<p>Hi,<br />
i have installed mysql server and it&#8217;s working fine, any idea how i can disable it from auto starting as a service.<br />
i am new to ubuntu so maybe this is an ubuntu thing!<br />
thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henk</title>
		<link>http://www.debianadmin.com/mysql-database-server-installation-and-configuration-in-ubuntu.html/comment-page-1#comment-4242</link>
		<dc:creator>Henk</dc:creator>
		<pubDate>Fri, 01 Jan 2010 20:03:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/43.html#comment-4242</guid>
		<description>Hi, I am trying to use an alternate my.cnf file(/etc/mysql/my2.cnf), but the &quot;CONF=/etc/mysql/my2.cnf&quot; statement in /etc/init.d/mysql does not appear to do anything, and the original file (/etc/mysql/my.cnf) is used instead.

Any ideas?</description>
		<content:encoded><![CDATA[<p>Hi, I am trying to use an alternate my.cnf file(/etc/mysql/my2.cnf), but the &#8220;CONF=/etc/mysql/my2.cnf&#8221; statement in /etc/init.d/mysql does not appear to do anything, and the original file (/etc/mysql/my.cnf) is used instead.</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Grant</title>
		<link>http://www.debianadmin.com/mysql-database-server-installation-and-configuration-in-ubuntu.html/comment-page-1#comment-3420</link>
		<dc:creator>Grant</dc:creator>
		<pubDate>Fri, 24 Jul 2009 15:35:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/43.html#comment-3420</guid>
		<description>Hello,

How are you logging into mysql.  Is it something like this?

$ mysql -u root -p</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>How are you logging into mysql.  Is it something like this?</p>
<p>$ mysql -u root -p</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Taylor</title>
		<link>http://www.debianadmin.com/mysql-database-server-installation-and-configuration-in-ubuntu.html/comment-page-1#comment-3414</link>
		<dc:creator>Simon Taylor</dc:creator>
		<pubDate>Thu, 23 Jul 2009 18:30:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/43.html#comment-3414</guid>
		<description>Hi,

I get the same error:
mysqladmin: connect to server at ‘localhost’ failed
error: ‘Access denied for user ‘root’@&#039;localhost’ (using password: NO)’

Don&#039;t get it!

Cheers</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I get the same error:<br />
mysqladmin: connect to server at ‘localhost’ failed<br />
error: ‘Access denied for user ‘root’@&#8217;localhost’ (using password: NO)’</p>
<p>Don&#8217;t get it!</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Grant</title>
		<link>http://www.debianadmin.com/mysql-database-server-installation-and-configuration-in-ubuntu.html/comment-page-1#comment-2883</link>
		<dc:creator>Grant</dc:creator>
		<pubDate>Wed, 06 May 2009 13:26:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/43.html#comment-2883</guid>
		<description>Hello

I am getting some errors that I cannot understand/resolve:

I am trying to reset the root password for mysql and this happens 

mysqladmin: connect to server at &#039;localhost&#039; failed
error: &#039;Access denied for user &#039;root&#039;@&#039;localhost&#039; (using password: NO)&#039;

How do I fix this.</description>
		<content:encoded><![CDATA[<p>Hello</p>
<p>I am getting some errors that I cannot understand/resolve:</p>
<p>I am trying to reset the root password for mysql and this happens </p>
<p>mysqladmin: connect to server at &#8216;localhost&#8217; failed<br />
error: &#8216;Access denied for user &#8216;root&#8217;@'localhost&#8217; (using password: NO)&#8217;</p>
<p>How do I fix this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rabindra</title>
		<link>http://www.debianadmin.com/mysql-database-server-installation-and-configuration-in-ubuntu.html/comment-page-1#comment-2728</link>
		<dc:creator>Rabindra</dc:creator>
		<pubDate>Wed, 15 Apr 2009 09:52:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/43.html#comment-2728</guid>
		<description>thanks for the solution</description>
		<content:encoded><![CDATA[<p>thanks for the solution</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anton</title>
		<link>http://www.debianadmin.com/mysql-database-server-installation-and-configuration-in-ubuntu.html/comment-page-1#comment-2574</link>
		<dc:creator>Anton</dc:creator>
		<pubDate>Wed, 18 Mar 2009 22:50:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/43.html#comment-2574</guid>
		<description>Thanx!!! It almost worked... BUT I have a problem: after I configured directory privileges and apparmor and MYSQL conf file - everything seems to work fine. BUT the problem is - I can not create NEW DATABASES  - it tells me error#13. Does anybody know something about this problem?

Thanks in advance! :)</description>
		<content:encoded><![CDATA[<p>Thanx!!! It almost worked&#8230; BUT I have a problem: after I configured directory privileges and apparmor and MYSQL conf file - everything seems to work fine. BUT the problem is - I can not create NEW DATABASES  - it tells me error#13. Does anybody know something about this problem?</p>
<p>Thanks in advance! <img src='http://www.debianadmin.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Somnuk</title>
		<link>http://www.debianadmin.com/mysql-database-server-installation-and-configuration-in-ubuntu.html/comment-page-1#comment-116</link>
		<dc:creator>Somnuk</dc:creator>
		<pubDate>Tue, 16 Dec 2008 07:38:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/43.html#comment-116</guid>
		<description>Greate nickrud, you really help me.</description>
		<content:encoded><![CDATA[<p>Greate nickrud, you really help me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sergey</title>
		<link>http://www.debianadmin.com/mysql-database-server-installation-and-configuration-in-ubuntu.html/comment-page-1#comment-115</link>
		<dc:creator>sergey</dc:creator>
		<pubDate>Thu, 04 Dec 2008 10:21:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/43.html#comment-115</guid>
		<description>Thanks! It works!!!</description>
		<content:encoded><![CDATA[<p>Thanks! It works!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sarang</title>
		<link>http://www.debianadmin.com/mysql-database-server-installation-and-configuration-in-ubuntu.html/comment-page-1#comment-114</link>
		<dc:creator>sarang</dc:creator>
		<pubDate>Fri, 19 Sep 2008 21:53:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/43.html#comment-114</guid>
		<description>Hey

One of our application developer requested to change the ownership of my.cnf file from root to mysql user and mysql group.

I was thinking about it could not think of any reason why I cannot do this.

Would this be ok or is there a reason why we shoulc have /etc/my.cnf owned by root.

Let me know.
Thanks,
SArang</description>
		<content:encoded><![CDATA[<p>Hey</p>
<p>One of our application developer requested to change the ownership of my.cnf file from root to mysql user and mysql group.</p>
<p>I was thinking about it could not think of any reason why I cannot do this.</p>
<p>Would this be ok or is there a reason why we shoulc have /etc/my.cnf owned by root.</p>
<p>Let me know.<br />
Thanks,<br />
SArang</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HaC&#124;away</title>
		<link>http://www.debianadmin.com/mysql-database-server-installation-and-configuration-in-ubuntu.html/comment-page-1#comment-113</link>
		<dc:creator>HaC&#124;away</dc:creator>
		<pubDate>Wed, 03 Sep 2008 12:53:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/43.html#comment-113</guid>
		<description>Another thing you should not forget is to restart /etc/init.d/apparmor after changing the /etc/apparmor.d/usr.sbin.mysqld file. I wondered why it did not work ;)</description>
		<content:encoded><![CDATA[<p>Another thing you should not forget is to restart /etc/init.d/apparmor after changing the /etc/apparmor.d/usr.sbin.mysqld file. I wondered why it did not work <img src='http://www.debianadmin.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Chua</title>
		<link>http://www.debianadmin.com/mysql-database-server-installation-and-configuration-in-ubuntu.html/comment-page-1#comment-112</link>
		<dc:creator>Chris Chua</dc:creator>
		<pubDate>Thu, 07 Aug 2008 21:32:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/43.html#comment-112</guid>
		<description>Thank you so so so so soooo much, nickrud. Your comment saved me. I&#039;ve been trying this for the past 3 hours and it&#039;s 5am (over here) now. I wonder where to look for such gotchas like that... How would a newbie like me know about apparmor? It&#039;s even a standard and I had no clue it existed...</description>
		<content:encoded><![CDATA[<p>Thank you so so so so soooo much, nickrud. Your comment saved me. I&#8217;ve been trying this for the past 3 hours and it&#8217;s 5am (over here) now. I wonder where to look for such gotchas like that&#8230; How would a newbie like me know about apparmor? It&#8217;s even a standard and I had no clue it existed&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nickrud</title>
		<link>http://www.debianadmin.com/mysql-database-server-installation-and-configuration-in-ubuntu.html/comment-page-1#comment-111</link>
		<dc:creator>nickrud</dc:creator>
		<pubDate>Sat, 12 Jul 2008 17:32:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/43.html#comment-111</guid>
		<description>Since apparmor is now standard in ubuntu (at least since hardy, which is the release I&#039;m working with now) you will also have to make a change to /etc/apparmor/apparmor.d/usr.sbin.mysqld as well in order to change the datadir. I needed to add the lines

  /home/mysql/ r,
  /home/mysql/** rwk,

to enable the correct access permissions to the new data directory.</description>
		<content:encoded><![CDATA[<p>Since apparmor is now standard in ubuntu (at least since hardy, which is the release I&#8217;m working with now) you will also have to make a change to /etc/apparmor/apparmor.d/usr.sbin.mysqld as well in order to change the datadir. I needed to add the lines</p>
<p>  /home/mysql/ r,<br />
  /home/mysql/** rwk,</p>
<p>to enable the correct access permissions to the new data directory.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Admin</title>
		<link>http://www.debianadmin.com/mysql-database-server-installation-and-configuration-in-ubuntu.html/comment-page-1#comment-110</link>
		<dc:creator>Admin</dc:creator>
		<pubDate>Tue, 10 Apr 2007 15:14:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/43.html#comment-110</guid>
		<description>you need to make sure you have vi editor installed in your machine otherwise install vi using the following command

#apt-get install vim

Now you need to edit the file using the following command

sudo vi /etc/mysql/my.cnf

If you install mysql in debian or ubuntu from packages you will find the above file without any problem.

Please give us which operating system you are running and how did you installed mysql server in your machine.</description>
		<content:encoded><![CDATA[<p>you need to make sure you have vi editor installed in your machine otherwise install vi using the following command</p>
<p>#apt-get install vim</p>
<p>Now you need to edit the file using the following command</p>
<p>sudo vi /etc/mysql/my.cnf</p>
<p>If you install mysql in debian or ubuntu from packages you will find the above file without any problem.</p>
<p>Please give us which operating system you are running and how did you installed mysql server in your machine.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

