ok, i downloaded and "installed" the db plugins from the rb website, closed and
relaunched the rb ide, created a brand new project, and put the following code
in the action method of a pushbutton:
dim db as MySQLDatabase
db = new MySQLDatabase
db.host = "localhost"
db.username = "mrpib"
db.password = "mrpibpass"
db.databasename = "dude"
if db.connect then
msgbox "good"
else
msgbox "bad"
end if
it fails every time. compiles and runs, but db.connect() is returning false.
the mrpib user has been granted full access to the "dude" db.
using the command-line mysql client, i can connect to the "dude" db as user
"mrpib" with pass "mrpibpass" (from localhost) and modify/read it to my heart's
content.
why is it that this rb code is failing?
os x 10.3.4 / rb 5.5.3 / mysql 4.1.3
thanks.
- philip
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|