New topic: 

Crash on db.Connect

<http://forums.realsoftware.com/viewtopic.php?t=31397>

       Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic         Author  
Message       [email protected]           Post subject: Crash on 
db.ConnectPosted: Thu Dec 03, 2009 4:28 am                        
Joined: Wed Jan 21, 2009 6:06 pm
Posts: 3              I have a MySQL app that has run OK on the Fedora Linux 
GTK and I am now testing Ubuntu 9.10. I am finding the MySQL Community plugin 
(and the old MySQL plugin) no longer work with either Linux. I have the latest 
apps (RB 2009 R5, MySQLCommunityPlugin dated 27/10/09 and Remote Debugger Stub 
1.7).

So I thought I would test a minor app to find the problem. I used the example 
in the Language Reference (see below, I put in my correct URL etc!) and found 
that it is dropping out on the db.connect command, not even giving an exception 
error, just ending the runtime operation without incident. The below code works 
on MacOS X 10.6 and Windows XP but not on either Linux. Is it just me? Is there 
a workaround?

'Language Reference example
Dim db as mySQLCommunityServer
db=New mySQLCommunityServer
db.host="192.168.1.172"
db.port=3306
db.databaseName="MyOwnmySQLdatabase"
db.userName="Mary"
db.Password="Elton"
If db.Connect then '<-- drops out on this line
//proceed with database operations
MsgBox "Connection succeeded!"
else
MsgBox "Connection failed!"
end if   
                            Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]     
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to