12 lines
257 B
MySQL
12 lines
257 B
MySQL
|
/*2. How to create a user for an IP address other than localhost.*/
|
||
|
|
||
|
|
||
|
/*Syntax :
|
||
|
|
||
|
create user [user name]@[<localhost>|<IP address>|<any host('%')>]
|
||
|
identified by ["password"];
|
||
|
*/
|
||
|
|
||
|
|
||
|
|
||
|
create user ramaswamy@192.168.0.105 identified by "mypasword";
|