accessing mysql within on-rev
Jim Lambert
jiml at netrin.com
Wed Jan 16 20:56:18 EST 2013
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.com and 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
More information about the use-livecode
mailing list