If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Add a new user

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-09-05, 19:37
ManUtdFans2003 ManUtdFans2003 is offline
Registered User
 
Join Date: Jan 2004
Location: Australia
Posts: 42
Add a new user

How do I add a new user who can connect from anywhere to the database server?
username is alan
password is alan
Reply With Quote
  #2 (permalink)  
Old 03-10-05, 03:17
dimis2500 dimis2500 is offline
Registered User
 
Join Date: Jan 2005
Posts: 362
Admin

You can use administrator tools like Mysql Administrator - Mycc from mysql.com
or sql manager lite (http://sqlmanager.net/products/mysql/manager/) with host option % or i think simply sql (see mysql site for options)
dimis
Reply With Quote
  #3 (permalink)  
Old 03-10-05, 17:39
ManUtdFans2003 ManUtdFans2003 is offline
Registered User
 
Join Date: Jan 2004
Location: Australia
Posts: 42
Finally, I found this works:
Grant all on machineA.* to alan@"%" identified by 'alan'

However, I found strange thing is when I use DOS prompt to issue command:
mysql -h localhost -u alan -palan
use databaseA

It works.

BUT not the following:
mysql -h 192.168.1.xx -u alan -palan
use databaseA <-- cause access deny

It did not allow me to access the databaseA.
Both command issued in the machine where the MySQL installed.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On