mysql

Status
Not open for further replies.

onekevinc

New Member
Messages
12
Reaction score
0
Points
1
Before the server migration mysql worked fine with perl, now it doesnt.
Any help would be appreciated
 

bdistler

Well-Known Member
Prime Account
Messages
3,534
Reaction score
196
Points
63
Perl is not supported on x10hosting's free-hosting accounts
the only scripting you can do is with PHP
 

bdistler

Well-Known Member
Prime Account
Messages
3,534
Reaction score
196
Points
63
Yeah ive been told that before. Perl still works, just not with mysql
What I said was "Perl is not supported on x10hosting's free-hosting accounts"

PHP is currently the only supported CGI option.

If Perl and/or Python are working for a user - on a x10hosting's free-hosting server - after a update - they eventually are removed from the users access

But when they are working - you can run the scripts from any folder (if you know how) - such as [ public_html ] - just like a PHP script
 

onekevinc

New Member
Messages
12
Reaction score
0
Points
1
Yes and you also said: "the only scripting you can do is with PHP".
Ive been "doing" perl scripts on my free account for many years.
Thanks for your help.
 

bdistler

Well-Known Member
Prime Account
Messages
3,534
Reaction score
196
Points
63
Yes and you also said: "the only scripting you can do is with PHP"
My error - what I should have said:
"Currently the only CGI scripting language - which is supported by x10hosting - that you can use on a free-hosting server is PHP"
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Before the server migration mysql worked fine with perl, now it doesnt.
Any help would be appreciated

As pointed out, Perl is not officially supported on Free Hosting Accounts. If it is running on your particular server, understand that the Admins can turn it off at any time. This thread might bring it to the Admins attention and hasten that time.

Assuming you are willing to take the risk that Perl might be disabled at any time:

"now it doesn't" doesn't tell me anything. Error messages? Maker sure you do not turn off error reporting and test return values.

Have you tried to access the database via a PHP script with success (wondering if it is a database problem)?
 

onekevinc

New Member
Messages
12
Reaction score
0
Points
1
This is the error message I'm getting

install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: ../ /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at (eval 5) line 3.
Perhaps the DBD::mysql perl module hasn't been fully installed,
or perhaps the capitalisation of 'mysql' isn't right.
Available drivers: DBM, ExampleP, File, Gofer, Proxy, SQLite, Sponge.
at ..//UserMod.pm line 8
Compilation failed in require at /home/rulesx10/public_html/cgi-bin/chat/chat.pl line 8.
BEGIN failed--compilation aborted at /home/rulesx10/public_html/cgi-bin/chat/chat.pl line 8.

I can connect to the db with php.
 

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,819
Reaction score
163
Points
63
We don't support Perl on free hosting. Nor do we support the MySQL module for it.
 
Status
Not open for further replies.
Top