<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7333765345215455101</id><updated>2011-11-27T15:59:54.375-08:00</updated><category term='Slackware'/><category term='Error'/><category term='Linux'/><category term='Mysql'/><title type='text'>My Programming Reference</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://my-programming-reference.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7333765345215455101/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://my-programming-reference.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Niko</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7333765345215455101.post-5317467011458329462</id><published>2009-03-05T12:56:00.000-08:00</published><updated>2009-03-05T13:02:46.802-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mysql'/><title type='text'>Reseting MySQL root password</title><content type='html'>This can be used to reset any user password. But it's primary used to reset root password.&lt;br /&gt;&lt;br /&gt;Create text file (reset.txt) and enter the following line:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;SET PASSWORD FOR 'root'@'localhost' = PASSWORD('new_password');&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Now run this command:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;mysql_safe  -init-file=reset.txt&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Keys: mysql, reset password&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7333765345215455101-5317467011458329462?l=my-programming-reference.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my-programming-reference.blogspot.com/feeds/5317467011458329462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7333765345215455101&amp;postID=5317467011458329462' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7333765345215455101/posts/default/5317467011458329462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7333765345215455101/posts/default/5317467011458329462'/><link rel='alternate' type='text/html' href='http://my-programming-reference.blogspot.com/2009/03/reseting-mysql-root-password.html' title='Reseting MySQL root password'/><author><name>Niko</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7333765345215455101.post-7193959092904014293</id><published>2008-08-16T10:21:00.000-07:00</published><updated>2008-08-16T10:40:20.642-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Error'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='Slackware'/><title type='text'>Slackware 12.0 - MySQL Error /usr/libexec/mysqld: can't find file './mysql/host.frm'</title><content type='html'>/usr/libexec/mysqld: can't find file './mysql/host.frm'&lt;br /&gt;or&lt;br /&gt;you can't start mysql at all.&lt;br /&gt;&lt;br /&gt;Check if mysql have permissions on /var/lib/mysql files and folders and check if they belong to mysql/mysql user/gorup.  There should be directory mysql (/var/lib/mysql/mysql).&lt;br /&gt;&lt;br /&gt;I have problem because there is no mysql dir. So I have run mysql_install_db as root.  That was wrong.&lt;br /&gt;login as root and then "su mysql", login as mysql user. Then run mysql_install_db. This will install mysql system databases. Now run mysql_safe daemon (Slackware /etc/rc.d/rc.mysql start)&lt;br /&gt;&lt;br /&gt;Thats all.&lt;br /&gt;&lt;br /&gt;keywords: slackware mysql error, mysql can't start, permission problem, can't find file&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7333765345215455101-7193959092904014293?l=my-programming-reference.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my-programming-reference.blogspot.com/feeds/7193959092904014293/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7333765345215455101&amp;postID=7193959092904014293' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7333765345215455101/posts/default/7193959092904014293'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7333765345215455101/posts/default/7193959092904014293'/><link rel='alternate' type='text/html' href='http://my-programming-reference.blogspot.com/2008/08/slackware-120-mysql-error.html' title='Slackware 12.0 - MySQL Error /usr/libexec/mysqld: can&apos;t find file &apos;./mysql/host.frm&apos;'/><author><name>Niko</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7333765345215455101.post-1823952119775711124</id><published>2007-08-01T08:40:00.000-07:00</published><updated>2007-08-01T08:41:47.008-07:00</updated><title type='text'>First Post</title><content type='html'>My First Post&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7333765345215455101-1823952119775711124?l=my-programming-reference.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my-programming-reference.blogspot.com/feeds/1823952119775711124/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7333765345215455101&amp;postID=1823952119775711124' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7333765345215455101/posts/default/1823952119775711124'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7333765345215455101/posts/default/1823952119775711124'/><link rel='alternate' type='text/html' href='http://my-programming-reference.blogspot.com/2007/08/first-post.html' title='First Post'/><author><name>Niko</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
