BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] mysql problem
- Subject: [Discuss] mysql problem
- From: jdm at moylan.us (dan moylan)
- Date: Mon, 22 Aug 2016 16:31:56 -0400
i run a perl cgi script on www/moylan.us as well as on my home computer. on saturday while i was at the linux install fest the script ran fine both places, but in the afternoon it failed at moylan.us, though it continued fine on my local host. my web hosting service was migrating to a different server over the lunch hour. the error message i receive is: > Can't call method "prepare" on an undefined value at > /home/moylan/ulmmoy/prl/sub/USR/USR.pm line 777. the code around there is: > 775 # get all current logins > 776 $stm = "select * from log"; > 777 $sh0 = $dh0->prepare ($stm); > 778 $sh0->execute (); i had the same problem two years ago, but on my home machine, not moylan.us where the script ran fine. as best i can recall, the solution involved disabling selinux -- though i'm not certain. however, i checked and the remote server already has selinux disabled. any thoughts as to what could be going on? ole dan j. daniel moylan 84 harvard ave brookline, ma 02446-6202 617-777-0207 (cel) jdm at moylan.us www.moylan.us [no html pls]
- Follow-Ups:
- [Discuss] mysql problem
- From: bill.n1vux at gmail.com (Bill Ricker)
- [Discuss] mysql problem
- From: joe at polcari.com (Joe Polcari)
- [Discuss] mysql problem
- Prev by Date: [Discuss] Boston Linux and Unix InstallFest LXI reminder Saturday August 20, 2016
- Next by Date: [Discuss] mysql problem
- Previous by thread: [Discuss] Boston Linux and Unix InstallFest LXI reminder Saturday August 20, 2016
- Next by thread: [Discuss] mysql problem
- Index(es):