mySQL connection fine in LiveCode but error in standalone

Kaveh Bazargan kaveh at rivervalleytechnologies.com
Sun May 7 18:06:46 CEST 2017


Hi Mike

Thanks for the reply there is indeed a dbmysql.bundle included in the
package. should that not be there?

The database should be connecting on openstack. But there is also a
separate button that should connect, but that is giving the same error.



On 7 May 2017 at 00:56, Mike Bonner via use-livecode <
use-livecode at lists.runrev.com> wrote:

> I'm wondering if the mySql db driver is being included. If you view the
> package contents then drill down to
> Contents/MacOS/Externals/database_drivers  is there a dbmysql.bundle
> folder?
>
> Another thing to check would be WHEN do you try to open the database?  If
> you do it in preopenstack, you might be trying to open the db before the
> drivers are completely loaded.
>
> Other than that, not sure.
>
>
> On Sat, May 6, 2017 at 5:19 PM, Kaveh Bazargan via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>
> > Hi folks
> >
> > I am a definite newbie to databases, but I have been reading from a mysql
> > database on the Mac running LC 9. The command is:
> >
> > revOpenDatabase("MySQL", DatabaseAddress, DatabaseName, DatabaseUser,
> > DatabasePassword)
> >
> > When I export to standalone I get the "revdberr, invalid database" type
> > error.
> >
> > Sorry not much more info but I wonder if there is a simple thing I am
> > missing. Is it perhaps that the password cannot  be saved in the stack?
> >
> > --
> > Kaveh Bazargan
> > Director
> > River Valley Technologies
> > @kaveh1000
> > +44 7771 824 111
> > www.rivervalleytechnologies.com
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
Kaveh Bazargan
Director
River Valley Technologies
@kaveh1000
+44 7771 824 111
www.rivervalleytechnologies.com


More information about the use-livecode mailing list