<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Tech-Recipes - Latest Comments in Create a MySQL user account</title><link>http://tech-recipes.disqus.com/</link><description>Cookbook of Tech Tutorials</description><atom:link href="https://tech-recipes.disqus.com/create_a_mysql_user_account_mysql_tech_recipes/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 01 Aug 2010 09:26:20 -0000</lastBuildDate><item><title>Re: Create a MySQL user account</title><link>http://www.tech-recipes.com/rx/191/create_a_mysql_user_account/#comment-65588638</link><description>&lt;p&gt;grant all on accounts.* to jsmith@localhost identified by 'Secret15';&lt;/p&gt;&lt;p&gt;where to excute this command I Just installed mysql-mysql-connector-odbc-3.51.22-win32 I am not able to login with localhost itself&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Karon_44</dc:creator><pubDate>Sun, 01 Aug 2010 09:26:20 -0000</pubDate></item><item><title>Re: Create a MySQL user account</title><link>http://www.tech-recipes.com/rx/191/create_a_mysql_user_account/#comment-56603158</link><description>&lt;p&gt;grant all on accounts.* to jsmith@% identified by 'Secret15';&lt;/p&gt;&lt;p&gt;i enter this command in mysql and also enter a flsuh priviliage but it not work is show error #1045 - Access denied for user 'varun'@'localhost' (using password: YES)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ashishvig 88</dc:creator><pubDate>Mon, 14 Jun 2010 01:15:51 -0000</pubDate></item><item><title>Re: Create a MySQL user account</title><link>http://www.tech-recipes.com/rx/191/create_a_mysql_user_account/#comment-44667182</link><description>&lt;p&gt;How would I prevent this new user from accessing database `information_schema` after creation?&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">gavin</dc:creator><pubDate>Tue, 13 Apr 2010 19:31:43 -0000</pubDate></item><item><title>Re: Create a MySQL user account</title><link>http://www.tech-recipes.com/rx/191/create_a_mysql_user_account/#comment-13307369</link><description>&lt;p&gt;i want to join with this&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ayush</dc:creator><pubDate>Sat, 25 Jul 2009 04:24:30 -0000</pubDate></item><item><title>Re: Create a MySQL user account</title><link>http://www.tech-recipes.com/rx/191/create_a_mysql_user_account/#comment-3677526</link><description>&lt;p&gt;Hi friend. thank u very much. your sample code working good. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Murali</dc:creator><pubDate>Tue, 11 Nov 2008 08:21:34 -0000</pubDate></item><item><title>Re: Create a MySQL user account</title><link>http://www.tech-recipes.com/rx/191/create_a_mysql_user_account/#comment-2767112</link><description>&lt;p&gt;&amp;lt;ul id="quote"&amp;gt;&amp;lt;h6&amp;gt;Kenny Vadas wrote:&amp;lt;/h6&amp;gt;This is very nice.. and good... Kenny Vadas&amp;lt;/ul&amp;gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 16 Jun 2005 10:29:06 -0000</pubDate></item><item><title>Re: Create a MySQL user account</title><link>http://www.tech-recipes.com/rx/191/create_a_mysql_user_account/#comment-2767111</link><description>&lt;p&gt;This is very nice.. and good... Kenny Vadas&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kenny Vadas</dc:creator><pubDate>Sat, 02 Apr 2005 04:01:15 -0000</pubDate></item><item><title>Re: Create a MySQL user account</title><link>http://www.tech-recipes.com/rx/191/create_a_mysql_user_account/#comment-2767110</link><description>&lt;p&gt;&amp;lt;ul id="quote"&amp;gt;&amp;lt;h6&amp;gt;Anonymous wrote:&amp;lt;/h6&amp;gt;&amp;lt;/ul&amp;gt;&amp;lt;ul id="quote"&amp;gt;&amp;lt;h6&amp;gt;Anonymous wrote:&amp;lt;/h6&amp;gt;Don't forget to "flush privileges" afterwards.&amp;lt;/ul&amp;gt;&lt;/p&gt;&lt;p&gt;I read that flushing privileges is only neccessary if you use insert instead of grant:&lt;/p&gt;&lt;p&gt;"The reason for using FLUSH PRIVILEGES when you create accounts with INSERT is to tell the server to re-read the grant tables. Otherwise, the changes will go unnoticed until you restart the server. With GRANT, FLUSH PRIVILEGES is unnecessary."&lt;/p&gt;&lt;p&gt;Quote from &lt;a href="http://dev.mysql.com/doc/mysql/en/Adding_users.html" rel="nofollow noopener" target="_blank" title="http://dev.mysql.com/doc/mysql/en/Adding_users.html"&gt;http://dev.mysql.com/doc/mysql/en/Adding_users.html&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 31 Dec 2004 03:36:05 -0000</pubDate></item><item><title>Re: Create a MySQL user account</title><link>http://www.tech-recipes.com/rx/191/create_a_mysql_user_account/#comment-2767109</link><description>&lt;p&gt;&amp;lt;ul id="quote"&amp;gt;&amp;lt;h6&amp;gt;Anonymous wrote:&amp;lt;/h6&amp;gt;Don't forget to "flush privileges" afterwards.&amp;lt;/ul&amp;gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">upender</dc:creator><pubDate>Mon, 11 Oct 2004 02:05:43 -0000</pubDate></item><item><title>Re: Create a MySQL user account</title><link>http://www.tech-recipes.com/rx/191/create_a_mysql_user_account/#comment-2767108</link><description>&lt;p&gt;&amp;lt;ul id="quote"&amp;gt;&amp;lt;h6&amp;gt;Anonymous wrote:&amp;lt;/h6&amp;gt;Don't forget to "flush privileges" afterwards.&amp;lt;/ul&amp;gt;&lt;/p&gt;&lt;p&gt;I read that flushing privileges is only neccessary if you use insert instead of grant:&lt;/p&gt;&lt;p&gt;"The reason for using FLUSH PRIVILEGES when you create accounts with INSERT is to tell the server to re-read the grant tables. Otherwise, the changes will go unnoticed until you restart the server. With GRANT, FLUSH PRIVILEGES is unnecessary."&lt;/p&gt;&lt;p&gt;Quote from &lt;a href="http://dev.mysql.com/doc/mysql/en/Adding_users.html" rel="nofollow noopener" target="_blank" title="http://dev.mysql.com/doc/mysql/en/Adding_users.html"&gt;http://dev.mysql.com/doc/mysql/en/Adding_users.html&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 10 Aug 2004 05:57:02 -0000</pubDate></item><item><title>Re: Create a MySQL user account</title><link>http://www.tech-recipes.com/rx/191/create_a_mysql_user_account/#comment-2767107</link><description>&lt;p&gt;You can specify the hostname or IP address that is allowed access in place of localhost in this command.  So, if you want to be able to connect from a host named 'workstation' (10.100.15.2), use one of these:&lt;/p&gt;&lt;p&gt;grant all on accounts.* to jsmith@workstation identified by 'Secret15';&lt;br&gt;grant all on accounts.* to jsmith@10.100.15.2 identified by 'Secret15';&lt;/p&gt;&lt;p&gt;A dubious alternative, one with serious security consequences (you've been warned) is to allow access to jsmith from anywhere:&lt;/p&gt;&lt;p&gt;grant all on accounts.* to jsmith@% identified by 'Secret15';&lt;/p&gt;&lt;p&gt;In this context, the % symbol is a wildcard permitting access from any host.  An important note - from my experience, it is necessary to create the localhost access control in addition to a specific host or global access control.  If you do not, connections from localhost may not function properly.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">qmchenry</dc:creator><pubDate>Mon, 08 Mar 2004 00:43:18 -0000</pubDate></item><item><title>Re: Create a MySQL user account</title><link>http://www.tech-recipes.com/rx/191/create_a_mysql_user_account/#comment-2767106</link><description>&lt;p&gt;grant all on accounts.* to jsmith@localhost identified by 'Secret15';&lt;/p&gt;&lt;p&gt;This only work's for the localhost how do i create an account that can be accesd by any ip and not from the same pc of the server ???? 8O&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Warlock</dc:creator><pubDate>Sun, 07 Mar 2004 15:13:39 -0000</pubDate></item><item><title>Re: Create a MySQL user account</title><link>http://www.tech-recipes.com/rx/191/create_a_mysql_user_account/#comment-2767105</link><description>&lt;p&gt;Don't forget to "flush privileges" afterwards.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 21 Jan 2004 05:35:14 -0000</pubDate></item></channel></rss>