mysql> show database;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'datab
ase' at line 1是什麼問題,請各位幫忙!

解决方案 »

  1.   

    应该是show databases;
    你少了一个S。
      

  2.   

    對的,這個問題我經搞定了。再部一個
    建存儲過程。
    CREATE procedure totalsalary(out total float)
    BEGIN 
      select total(salary) into total from employ;
    END
    delimiter;輸入EMPLOY ;時MYSQL認為結束了。
    如何處理?
      

  3.   

    這個也搞定了。但是有了新的問題。
    建存儲過程時提示MYSQL.proc不存在。
    這個表如何建?有何要求?