programming-examples/sql/UserManagement/2. How to create a user for an IP address other than localhost.sql

12 lines
257 B
MySQL
Raw Normal View History

2019-11-18 14:05:53 +01:00
/*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";