MySQL Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesMySQL Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 11th, 2000, 12:53 PM
DukeNM DukeNM is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 50 DukeNM User rank is Private First Class (20 - 50 Reputation Level)DukeNM User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Send a message via ICQ to DukeNM
MYSQL
A little bit of knowing of MySql setup. I was going through one of these administration tutorials. this is what it says......
'A Real-Life example
Suppose we want to allow user 'dario' to access the server via hosts 'localhost' and 'www.devshed.com', which lies on the 'dv1' host. He wants to access the database 'pasta' strictly from 'localhost', but he wants to access the database 'chicken' from both hosts. Finally, he wants to use the password 'mamamia'.

Step 1: Set up the host table (assuming it has not yet been set up)
The host table is of considerable importance when administering larger networks, yet it
needs to be configured for every server. Assuming you have just one server, you will
have to insert just two hostnames, the localhost, and your server name. Otherwise, you will have to list each server that you would like to give access to the MySQL server.

$ mysql mysql
mysql> insert into ->host(host,db,Select_priv,Insert_priv,Update_priv,
-> Delete_priv,Create_priv,Drop_priv)
-> values('localhost','%','Y', 'Y', 'Y', 'Y', 'Y', 'Y');

mysql> insert into
->host(host,db,Select_priv,Insert_priv,Update_priv,
->Delete_priv,Create_priv,Drop_priv)
->values('dv1','%','Y', 'Y', 'Y', 'Y', 'Y', 'Y');
'

My System is a standalone system -acting as both client-server and only single user 'root'
My question is do i have to make another user for the system?? or is it possible to make another user just for mysql working under root. ie. there will be 2 users for MySQL working under system 'root'

I hope i am clear enough......
thanx..

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMySQL Help > MYSql admin..creating users??


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT