Put your tips and tricks online - Share your knowledge! Login | Register
 
 
  Search     Advanced search
 

Home | Ask Question | Add tip | My tips | Recent tips & tricks | Suggest a category | FAQ | Forums

 
 
 
 Category : Home > Databases > MySQL > Security     

Create new MySQL user account


The command below will create MySQL user called 'testuser' on localhost with all privileges
for database called 'testdb' and with password 'mypassword'. Connect to the server with mysql
and run command:

grant all on testdb.* to testuser@localhost identified by 'mypassword';


  Options
 
   del.icio.us  |  newsvine  |  digg  |  furl  |  google  |  yahoo  |  Ma.gnolia  |  vigillar  |  reddit  |  technorati  |  icerocket  |  pubsub

     (Average: 4 / Votes: 1)   Rate this tip:    

Start discussion or add comment to this tip

  Details
Tip reference : #118
views : 745
Added on : 10/17/06
Submited by : ingres
 
Send a message Send a message Printer friendly output Printer friendly output
Display this member's tips Display this member's tips (5)
 
 
<< Previous
 Most viewed tips 
  Databases > Oracle > Security : How to unlock Oracle user account  
  Databases > Oracle > Performance Tuning : How to enable trace in Oracle  
  Operating Systems > Unix : How to kill Unix user session  
  Databases > Oracle : Kill user session  
   
  All categories
Databases | Programming | Hardware | Operating Systems | Networking | Internet | ERP / CRM | Games & Multimedia | Graphics & Design | Miscellaneous | Mobile Phones / Tablets | Office Software
 
 

Home |  FAQ |  Terms of Use |  Privacy Policy

© 2005 tiplib.com