Author |
Message |
Topic: error 10106 connecting to mySQL through a Perl cgi |
Andrewb
Replies: 8
Views: 20086
|
|
Ok. I finally solved this.
AWS will only run perl scripts that connect to mySQL if I start it as an administrator. Once I do that, MT works as it should. If I run it from my normal "power user" acc ... |
Topic: error 10106 connecting to mySQL through a Perl cgi |
Andrewb
Replies: 8
Views: 20086
|
|
Again Andrew, there is no connection between the web server and the database. This is technically impossible. Try running your simple Perl script on the command line and you will notice also that th ... |
Topic: error 10106 connecting to mySQL through a Perl cgi |
Andrewb
Replies: 8
Views: 20086
|
|
Just to clinch it: I did convert the script above into a CGI, and, running it from the simplest possible test page, I got
Perl CGI test
Content-type: text/html
Software error:
Can't c ... |
Topic: error 10106 connecting to mySQL through a Perl cgi |
Andrewb
Replies: 8
Views: 20086
|
|
OK. I think now that it must be an aprelium problem, because I can get non-CGI code to work: if I just write little test script, like this:
use strict;
use DBI;
my $data_source = 'DBI:mysql ... |
Topic: error 10106 connecting to mySQL through a Perl cgi |
Andrewb
Replies: 8
Views: 20086
|
|
Thank you for replying so promptly.
The Perl thing is set up to 3306, so far as I can tell. That's the default port. Everything else connects on there. Indeed, I have another mySQL database set up ... |
Topic: error 10106 connecting to mySQL through a Perl cgi |
Andrewb
Replies: 8
Views: 20086
|
|
I am trying to install Movable Type (MT), which is a complex and powerful blogging system, written in Perl, on a Windows 2000 machine.
I have got the Abyss server running properly, and it will sho ... |
|