Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This 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.


  Search this Thread
Old 01-30-2004, 10:20 PM   #1
LQ Newbie
Registered: Jan 2004
Distribution: Fedora Core
Posts: 5

Rep: Reputation: 0
PHP is not talking to Mysql in Fedora

I have fedora and PHP and Mysql installed and PHP works Mysql works and fedora works all seperately but when I try to access Mysql through PHP nothing happens. I enter information into the fields and they go blank but nothing gets entered into Mysql. I don't get any error messages or anything like that is just goes blank. Is there something that I am missing in the installation. Any help would be appreciated even if you are guessing. Thanks
Old 01-30-2004, 11:13 PM   #2
Registered: Sep 2003
Location: Canada
Distribution: Fedora 30
Posts: 341

Rep: Reputation: 36
I haven't done it myself, but I have seen references to this site:
Old 02-03-2004, 12:03 AM   #3
Registered: Jan 2003
Location: Bandung, Indonesia
Distribution: Mandrake, SUSE, RedHat
Posts: 55

Rep: Reputation: 15
perhaps you have to let php display the error message, search for its configuration in php.ini.
If everything is done correctly (php works, mysql works) but still can't connect to mysql through php perhaps you should reinstall them (still not working? reinstall your linux. Its radical but it works sometime).
If you have better solution, tell us (people who reinstall linux to solve this problem).
Old 02-03-2004, 12:11 AM   #4
Senior Member
Registered: Feb 2003
Location: The Real Washington
Distribution: Debian, Android
Posts: 1,819

Rep: Reputation: 46
If PHP works, you can add the following to the end of your queries to get errors.

Example Query

mysql_query("Select * From Table) or die(mysql_error());
Old 02-03-2004, 03:55 AM   #5
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Rep: Reputation: 33
hi mahugl,

just a quick question - are you embedding your PHP in web pages?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache/PHP not talking to mysql database BorgAssimilator Linux - Software 1 11-11-2005 03:12 AM
PHP 5 wont connect to MySql (fedora spacy2003 Linux - Software 0 02-07-2005 08:31 AM
php 438 and mysql 41 fedora 2 wont talk phoebebright Linux - Software 0 11-02-2004 03:49 PM
MySQL 4 on Fedora can't install php-mysql kennyg Linux - Software 8 09-21-2004 06:54 PM
Apache Mysql Php: mysql with php doesn't work breakerfall Linux - Networking 6 12-27-2003 08:59 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration