Changes

The MySQL Administrator Tool

1,117 bytes added, 19:57, 26 September 2007
Connecting to the Database Server
[[image:mysql_server_info.jpg]]
 
If the database server is running on a remote host it is possible the connection will fail with a message similar to the following:
 
<pre>
Could not connect to the specified instance.
 
MySQL Error Number 1045
Access denied for user 'username'@'192.168.2.11'(using passowrd: YES)
</pre>
 
The reason for this is that the specified user has not be provisioned to access the database server from a remote system. This problem can be resolved on the server using the MySQL Administrator. Simply launch the MySQL Administrator tool on the system hosting the database server, select the ''User Administration'' option and select the required user from the list of users in the bottom left hand corner of the window. Once selected, click with the right mouse button on the user name and select ''Add Host''. In the resulting ''Add Host'' dialog add the host name or IP address of the remote host to which you wish to allow connections and click on ''OK''. Once the user has the appropriate privileges to connect from the specified host it should be possible to connect the MySQL Administrator client to the database server.