I tried to connect mySQL at localhost following the paper "An ODBC Interface for the Unicon Programming Language " and found some strange problems.
 
I can't open the db with
----------------------------------------
db:= open("myodbc3-test","o","root","")
----------------------------------------
 
But if I can open the db successfully with
----------------------------------------
login()
db := open("myodbc3-test","o","root","")
----------------------------------------
 
as login() is
-----------------------
procedure login()
  writes("user: ")
  user := read()
  writes("password: ")
  password := read()
end
-----------------------
 
Someone could tell me the reason?
 
 
Song
 
 
 

Reply via email to