Fedora Linux Support Community & Resources Center
  #1  
Old 7th September 2008, 12:44 AM
muneer1st Offline
Registered User
 
Join Date: Sep 2008
Posts: 11
cannot access mysql from PHP file

Hi all,
I am newbie to Linux world. I have installed Fedora 9.
Then installed Apache 2, Mysql, PHP. This is my first time to install servers on a linux environment. Everything done well. Apache server is up and running. I can run PHP files as well.

But problem is.. I created one connection to mysql using mysql_connect() function in my PHP code. I found no result. Neither I am getting die()'s message nor successfully connected message. I have installed mysql_administrater GUI tool too. I was checking user name and password through it. Its connecting like a charm.

I think some thing is missing in my settings,,, not sure what to do. Please any one help me.
Reply With Quote
  #2  
Old 7th September 2008, 01:30 AM
muneer1st Offline
Registered User
 
Join Date: Sep 2008
Posts: 11
Hi again. I could resolve this problem. It was a package missing. PHP ot MySql bridge.
Thank you for viewing
Reply With Quote
Reply

Tags
access, file, mysql, php

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
!! Can't access file in mounted file system. john7sp Using Fedora 9 21st December 2008 06:33 PM
MySQL remote access axiopisty Servers & Networking 2 16th April 2008 04:33 PM
MySQL: Can't open privilege tables: Incorrect information in file: './mysql/host.frm' benjamin.choi Servers & Networking 1 25th June 2005 04:19 PM


Current GMT-time: 08:16 (Monday, 28-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat