Fedora Linux Support Community & Resources Center
  #1  
Old 12th April 2005, 11:22 PM
Aquiles Offline
Registered User
 
Join Date: Apr 2005
Posts: 5
mysql_connect problem

Hi,
I'm a new user of Fedora and I've just installed it on my computer. I've got webmin and I see mysql server works, but mysql_connect doesn't.

Perhaps it's very easy to do, but I don't know how.

Thanks a lot.
Reply With Quote
  #2  
Old 13th April 2005, 05:52 PM
BandC's Avatar
BandC Offline
Registered User
 
Join Date: Nov 2004
Posts: 1,105
Are you trying to write a PHP script? What are you trying to do? What command are you issuing and what do you get?
__________________
IMHO GNOME FTW! BTW KDE WAD? FWIW. HTH. AFAIK YMMV. OMG WTF BBQ! :rolleyes:

Do you like surfing forums but wish people would stop using obscure abbreviations and acronyms?
Then my Firefox/Chrome extension ABBREX is for you!
It automatically adds hover tooltips to abbreviations displaying their meanings on any web page you visit!

Check it out at: http://abbrex.com
Reply With Quote
  #3  
Old 13th April 2005, 06:03 PM
Aquiles Offline
Registered User
 
Join Date: Apr 2005
Posts: 5
Sorry. :P

Yes, I'm trying to use a php script. Mysql server works fine, I can use it with webmin.
This is the code I'm trying to use:
$this->db = mysql_connect($this->computer, $this->user, $this->password) or die("Error.<br>");
It shows me error in the navigator, and I've already create a user with permisions to access the db. May it be a problem with php modules?
Reply With Quote
  #4  
Old 13th April 2005, 06:42 PM
Artemis Offline
Registered User
 
Join Date: Oct 2004
Location: The Netherlands
Age: 28
Posts: 220
Yes had that same problem before, here's how to solve your problem.

http://www.fedoraforum.org/forum/sho...ighlight=Mysql
__________________
"Lead the troops into battle like a monkey into space, your unneeded wars will be the death of our race. Not black, not white, no single ethnicity, I mean the death of the race called humanity..." Linux user 372264

Everybody is free to add me on msn or yahoo.
Reply With Quote
  #5  
Old 13th April 2005, 11:32 PM
Aquiles Offline
Registered User
 
Join Date: Apr 2005
Posts: 5
The problem is solved! Thanks a lot, Artemis!
Reply With Quote
Reply

Tags
mysqlconnect, problem

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
PHP mysql_connect only works with IP address ecvej Servers & Networking 0 6th September 2008 05:18 PM
apache good: ready for mysql_connect() :) jsabarese Servers & Networking 4 4th June 2006 06:09 AM
Warning: mysql_connect(): Client does not support authentication protocol Secret Agent Using Fedora 1 9th April 2005 07:44 AM
mysql_connect() problem InfRecursion Using Fedora 0 6th January 2005 03:20 AM
php5 mysql_connect undefined aljo Using Fedora 3 30th October 2004 12:27 AM


Current GMT-time: 12:05 (Thursday, 20-06-2013)

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