lalo Posted July 4, 2011 Share Posted July 4, 2011 Hi: I want to connect my computer from a different computer on which MySQL is running in an ethernet network (local area network).That means that I don t want to use the localhost hostname. What is the hostname in the command ?: GRANT privileges ON database.* TO 'username'@'hostname' IDENTIFIED BY 'password'. Please give a specific example. I have installed MySQL (on Windows) with the option :root access from a remote machine enabled. Thank you in advance. Link to comment Share on other sites More sharing options...
Larry Posted July 5, 2011 Share Posted July 5, 2011 The hostname would be the IP address of the client machine connecting. Link to comment Share on other sites More sharing options...
Recommended Posts