<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>Linux Format forums</title>
  <link>http://www.linuxformat.com/forums/index.php</link>
  <description>Help, discussion, magazine feedback and more</description>
  <language>english</language>
  <copyright>(c) Copyright Sat May 25, 2013 12:30 pm by Linux Format forums</copyright>
  <managingEditor>webmaster@linuxformat.com</managingEditor>
  <webMaster>webmaster@linuxformat.com</webMaster>
  <pubDate>Sat May 25, 2013 12:30 pm</pubDate>
  <lastBuildDate>Sat May 25, 2013 12:30 pm</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>Linux Format forums</title>
    <url></url>
    <link>http://www.linuxformat.com/forums/</link>
    <description>Help, discussion, magazine feedback and more</description>
  </image>

                                      <item>
                                        <title>Re: PHP Coding Academy - MySQL question</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=95475#95475</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=2464'&gt;johnhudson&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Thu Dec 09, 2010 8:40 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      When it is initially installed mysql normally has no passwords and two anonymous users, meaning that anyone can use it. If you give a password, it denies access because it does not have a password listed and treats this as an illegal command.&lt;br /&gt;
&lt;br /&gt;
If you can, start mysql without a password and enter&lt;br /&gt;
select * from mysql.user;&lt;br /&gt;
to find out the current status of your users</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=95475#95475</comments>
                                        <author>johnhudson</author>
                                        <pubDate>Thu Dec 09, 2010 8:40 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=95475#95475</guid>
                                      </item>
                                      <item>
                                        <title>Re: PHP Coding Academy - MySQL question</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=95459#95459</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=48037'&gt;nicephotog&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Dec 08, 2010 3:31 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      When you install MySQL you must have a &amp;quot;root&amp;quot; user and root password.&lt;br /&gt;
Sometimes that sort of thing gets lost but the way you do it is to set it by starting the mysql daemon at the shell prompt after placing a special file and name in the server application folder that will set the root password. Then you can re-start it at the shell prompt and it will be usable under root with that password.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold&quot;&gt;This is the one i know(lookup for each time)&lt;br /&gt;
&lt;a href=&quot;http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html#resetting-permissions-unix&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html#resetting-permissions-unix&lt;/a&gt;&lt;br /&gt;
C.5.4.1.2. Resetting the Root Password: Unix Systems&lt;br /&gt;
&lt;br /&gt;
This is the command associate the previous information on the page for --init-file&lt;br /&gt;
mysqld_safe --init-file=/home/me/mysql-init &amp;amp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
While this is windows, there should be a &amp;quot;mysqladmin.bin&amp;quot; for unix types but is not a strict point.&lt;br /&gt;
&lt;a href=&quot;http://docs.cacti.net/manual:087:1_installation.2_install_windows.5_install_mysql&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://docs.cacti.net/manual:087:1_installation.2_install_windows.5_install_mysql&lt;/a&gt;</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=95459#95459</comments>
                                        <author>nicephotog</author>
                                        <pubDate>Wed Dec 08, 2010 3:31 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=95459#95459</guid>
                                      </item>
                                      <item>
                                        <title>Re: PHP Coding Academy - MySQL question</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=91481#91481</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=65997'&gt;chriswadams&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Sat Jul 31, 2010 2:48 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Hey all --&lt;br /&gt;
&lt;br /&gt;
Hudzilla wrote:&lt;br /&gt;
[quote]It's possible that you had some components installed previously, or maybe just hit Enter at the wrong time? [/quote]&lt;br /&gt;
&lt;br /&gt;
Yes, I think that's what happened. But I had tried to 'Completely Uninstall' MySQL before, and still couldn't get it to ask me for a password. &lt;br /&gt;
&lt;br /&gt;
Tonight, I did a 'Complete Uninstall' on mysql-server, mysql-server-5.1, mysql-server-core-5.1, and mysql-common, then rebooted, then reinstalled them -- and that worked!&lt;br /&gt;
&lt;br /&gt;
Thanks for the advice guys! javascript&amp;#058;emoticon('&lt;img src=&quot;images/smiles/icon_biggrin.gif&quot; alt=&quot;Very Happy&quot; border=&quot;0&quot; /&gt;')&lt;br /&gt;
chriswadams</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=91481#91481</comments>
                                        <author>chriswadams</author>
                                        <pubDate>Sat Jul 31, 2010 2:48 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=91481#91481</guid>
                                      </item>
                                      <item>
                                        <title>Re: PHP Coding Academy - MySQL question</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=91414#91414</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=130'&gt;Ram&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Fri Jul 30, 2010 1:08 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Maybe, but zapping it would be quickest.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=91414#91414</comments>
                                        <author>Ram</author>
                                        <pubDate>Fri Jul 30, 2010 1:08 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=91414#91414</guid>
                                      </item>
                                      <item>
                                        <title>Re: PHP Coding Academy - MySQL question</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=91413#91413</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=66604'&gt;Crispy&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Fri Jul 30, 2010 1:01 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Hey,&lt;br /&gt;
&lt;br /&gt;
I found the same problem originally as I used apt-get to install it but as I was about to change to fedora 13 it didn't worry me.  So just out of curiosity, is there a way to give it a password through the command line?&lt;br /&gt;
&lt;br /&gt;
Chris</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=91413#91413</comments>
                                        <author>Crispy</author>
                                        <pubDate>Fri Jul 30, 2010 1:01 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=91413#91413</guid>
                                      </item>
                                      <item>
                                        <title>Re: PHP Coding Academy - MySQL question</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=91406#91406</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=6'&gt;Hudzilla&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Fri Jul 30, 2010 11:50 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Hey!&lt;br /&gt;
&lt;br /&gt;
Yes, it's definitely a problem if you don't have a password for MySQL. It's possible that you had some components installed previously, or maybe just hit Enter at the wrong time?&lt;br /&gt;
&lt;br /&gt;
Anyway, you want to zap mysql-server, not just uninstall - I think Synaptic calls it &amp;quot;Completely Remove&amp;quot; or something, and it means any passwords that were set will be removed as well.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Paul</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=91406#91406</comments>
                                        <author>Hudzilla</author>
                                        <pubDate>Fri Jul 30, 2010 11:50 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=91406#91406</guid>
                                      </item>
                                      <item>
                                        <title>Re: PHP Coding Academy - MySQL question</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=91401#91401</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=130'&gt;Ram&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Fri Jul 30, 2010 7:15 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      It probably as not installed correctly - un-install it and try again.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=91401#91401</comments>
                                        <author>Ram</author>
                                        <pubDate>Fri Jul 30, 2010 7:15 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=91401#91401</guid>
                                      </item>
                                      <item>
                                        <title>PHP Coding Academy - MySQL question</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=91394#91394</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=65997'&gt;chriswadams&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Fri Jul 30, 2010 12:25 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Hey all --&lt;br /&gt;
&lt;br /&gt;
I got issue #134 today with the &amp;quot;PHP Coding Academy&amp;quot; booklet, and I just finished the 1st assignment. It went well, but I had a problem with installing MySQL -- it never asked me for a password. Looking ahead at assignment #4, this looks like it will be a big problem, since I will need the password just to start MySQL. Is there some other way to set the password?&lt;br /&gt;
&lt;br /&gt;
Thanks, &lt;br /&gt;
chriswadams.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=91394#91394</comments>
                                        <author>chriswadams</author>
                                        <pubDate>Fri Jul 30, 2010 12:25 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=91394#91394</guid>
                                      </item></channel></rss>