日期:2014-05-16 浏览次数:20968 次
+------+-----------------------+ | user | host | +------+-----------------------+ | root | 127.0.0.1 | | root | localhost.localdomain | +------+-----------------------+
+------+-----------------------+ | user | host | +------+-----------------------+ | root | % | | root | 127.0.0.1 | | root | localhost.localdomain | +------+-----------------------+接下来实现远程连接mysql了,
C:\Documents and Settings\Administrator>mysql -h192.168.1.145 -uroot -p Enter password: ****** Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 113 to server version: 5.1.49-log Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql>