MYSQL远程连接授权
MYSQL服务器上:
比如:
C:\>mysql -uroot -p
Enter password: ******
Welcome tothe MySQL monitor.  Commands endwith; or\g.
Your MySQL connectionid is2
Server version: 5.1.22-rc-community-log MySQL Community Server (GPL)
Type 'help;'or'\h'forhelp. Type '\c'toclear the buffer.
mysql> grantallprivilegeson*.* to'yourname'@'%'identified by'youpasswd';
Query OK, 0 rowsaffected (0.05 sec)
mysql> flush privileges;
Query OK, 0 rowsaffected (0.06 sec)
mysql> exit