mySQL connection fine in LiveCode but error in standalone

Mike Bonner bonnmike at gmail.com
Sun May 7 01:56:19 CEST 2017


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
>


More information about the use-livecode mailing list