-
Website
http://www.tech-recipes.com/ -
Original page
http://www.tech-recipes.com/rx/191/create_a_mysql_user_account/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
davak
83 comments · 1 points
-
Web Design
3 comments · 1 points
-
danishbacker
9 comments · 1 points
-
flexinfo
11 comments · 1 points
-
Tonychelle
4 comments · 1 points
-
-
Popular Threads
-
Facebook: How To Get Only Status Updates on Your FB Home Page
1 week ago · 4 comments
-
Firefox: Enable Case Sensitive Searches When Using Find (Ctrl+F)
4 days ago · 1 comment
-
Windows 7: How To Disable Live Preview for Taskbar Thumbnails
1 week ago · 2 comments
-
Gmail: How to block a sender from your inbox
2 weeks ago · 3 comments
-
Our first iPhone game GreenThumb available in the App Store
3 weeks ago · 2 comments
-
Facebook: How To Get Only Status Updates on Your FB Home Page
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
grant all on accounts.* to jsmith@workstation identified by 'Secret15';
grant all on accounts.* to jsmith@10.100.15.2 identified by 'Secret15';
A dubious alternative, one with serious security consequences (you've been warned) is to allow access to jsmith from anywhere:
grant all on accounts.* to jsmith@% identified by 'Secret15';
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.
I read that flushing privileges is only neccessary if you use insert instead of grant:
"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."
Quote from http://dev.mysql.com/doc/mysql/en/Adding_users.html
I read that flushing privileges is only neccessary if you use insert instead of grant:
"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."
Quote from http://dev.mysql.com/doc/mysql/en/Adding_users.html