注意空格mysql -h 192.168.133.197 -uroot -p

解决方案 »

  1.   

    mysql -h 192.168.133.197 -u root -p
      

  2.   

    然後在mysql>
    後面輸入mysql -h192.168.133.197 -uroot -p;<回車>呵呵,这你就错了
    当出现
    mysql>  表示你已登录上 服务器了,
    你就应该执行  SHOW TABLES FROM test 了C:\>mysql
    Welcome to the MySQL monitor.  Commands end with ; or \g.
    Your MySQL connection id is 3 to server version: 4.0.16-max-nt-logType 'help;' or '\h' for help. Type '\c' to clear the buffer.mysql> SHOW TABLES FROM test;
    +-------------------+
    | Tables_in_test    |
    +-------------------+
    | n                 |
    | product           |
    | province          |
    | quest_request_res |
    | region            |
    | ta                |
    +-------------------+
    6 rows in set (0.03 sec)
      

  3.   

    我是想连接远程的.
    我有註意空格的問題.但還是出現ERROR.