accessing mysql within on-rev

Mike Bonner bonnmike at gmail.com
Wed Jan 16 21:05:00 EST 2013


If you don't actually put something on the page you can get that error.

Just for a quick test, put something (anything) outside your <?lc ?>
section and see if if shows. If so, that was the issue. If not, well.. its
something else.


On Wed, Jan 16, 2013 at 6:56 PM, Jim Lambert <jiml at netrin.com> wrote:

> Hi,
>
> I have created a mySQL database on on-rev and can successfully access it
> using the LiveCode IDE:
> put revOpenDatabase("mysql", "myaccount.on-rev.com", "mydatabase",
> "myuser", "myuserspassword") into DB
>
> But when I try to access it from the on-rev server itself, like so:
> put revOpenDatabase("mysql", "localhost", "mydatabase", "myuser",
> "myuserspassword") into DB
>
> I get this:
>
> <Internal Server Error
>
> The server encountered an internal error or misconfiguration and was
> unable to complete your request.
>
> Please contact the server administrator, webmaster at myaccount.on-rev.comand inform them of the time the error occurred, and anything you might have
> done that may have caused the error.
>
> More information about this error may be available in the server error log.
>
> Additionally, a 404 Not Found error was encountered while trying to use an
> ErrorDocument to handle the request.>
>
> What silly mistake am I making?
>
> Thanks,
> Jim Lambert
>
>
>
>
>
>
>
>
>
> _______________________________________________
> 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