我正在和我公司的統計師一起工作,並試圖從WPS(世界編程系統)連接到mysql數據庫。 WPS文檔非常糟糕。用wps連接到mysql數據庫
我想這SAS/ACCESS方法:
proc sql;
connect to mysql (user=testuser password=testpass server=mysqlserv database=mysqldb port=3306
execute (create table whotookorders as
select ordernum, takenby,
from orders, employees
where orders.takenby=employees.empid)
by mysql
quit;
不過,我得到了錯誤:
could not load module MYSQL or one of it's dependencies. etc. etc.
有什麼具體配置明智的,你需要做的使用MySQL與WPS?
你確定你已經安裝了MySQL模塊嗎?至少對於SAS來說,每個RDBMS模塊都是分開的,除非您仍然使用OLEDB或ODBC,所以如果您最初沒有安裝它,它就不在那裏。如果WPS使用與SAS相同的風格來管理事物,'proc setinit; run;'可能會有所幫助。 – Joe