Database Connectivity Problems
Frank D. Engel, Jr.
fde101 at fjrhome.net
Thu Nov 17 20:22:33 EST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Aha! What do you know, it's a BUG!
According to the docs, the "use SSL" field should be ignored unless
connecting to MySQL. I set it to be the hilite of button "checkbox
name" (whatever I called it), which the interface disabled unless using
MySQL, thinking that is what would happen, but lo and behold -- if I
check that box and try again, now I'm connecting to port TRUE!!!!
Taking that part out of the code solves the problem.
bug 3232 (and counting...)
On Nov 17, 2005, at 12:37 AM, Sarah Reichelt wrote:
>> I'm back... finally!
> Hi Frank, good to hear from you again.
>> I'm trying to use the database APIs to connect to a PostgreSQL
>> on the local machine and getting messages like:
>> could not connect to server: Can't assign requested address
>> Is the server running on host "localhost" and accepting
>> TCP/IP connections on port false?
>> Yes, port "false" -- that's when I don't specify a port! when I do
>> specify the port, I get this:
>> could not translate host name "localhost:5432" to
>> address: No address associated with nodename
> Could you send the actual script you are using to make the connection?
> If you are using variables to specify the username, password &
> database name, can you get Rev to "put" the complete command before
> executing it, so you can be sure it is really working. Or perhaps
> hard-wire the data for test purposes to see if you can connect that
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
Frank D. Engel, Jr. <fde101 at fjrhome.net>
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten
Son, that whosoever believeth in him should not perish, but have
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
-----END PGP SIGNATURE-----
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
More information about the Use-livecode