Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
That could be anything unless your willing to give us line 48 of your script that its stating the error is on, etc. Probably best to give a few lines before and after just in case.
My first guess would be, its not connecting to your db for some reason, maybe mysql isn't running, the username and password is wrong that its trying to connect with, or could just be a single syntax in your line that is preventing it from connecting.
Well looking at my line 48 in my mysql4.php file I have for my phpbb forum, I see no difference in what you have in yours. This would lead me to believe mysql is not even running perhaps? Have you checked that? Check with ps -aux or top
I have seen this before, check your phpinfo() and make sure php is built with mysql support then check your php.ini file and make sure the your loading the mysql extensions. Should look something like this
Did you post this in another forum already because I responded to that thread..
Anyway, your problem is that perl5 DOES NOT include MySQL support, nor is it bundled with the MySQL PHP library. You'll need to download the MySQL library and then recompile php using the configure option: