Jump to content

PHP to MySQL - Could not connect to database


Recommended Posts


Hi all, I've spent a good part of this morning reading the forums but still havent come up with a solution to my problem and I was wondering if one of you all might have a fresh look at it.

The Stats:

Windows Server 2003
PHP 4.4.2
MySQL 4.1
EQDQKP 1.3.0p4

Basically the eqdkp uses php to connect to the mysql dbase. Unfortunately, it doesnt like the new versions of PHP and MySQL so I'm forced to use the old ones I listed.

When I try to install the app , I give it the dbase name, user name and location but it comes back with an error msg "[b]Unable to connect to dbase "abcd" on root @ localhost[/b]"

I can connect to the dbase using the command line interface through mysql, and it appears healthy. I've created two additional user accounts and given them ALL PRIVILEGES on *.*. I've even created a new database just for the heck of it.

No matter what username/dbase I use, I get that same error message.

With PHP 4.4.2 its supposed to have built in MySQL support, so there are no additional .dll's that I need to copy over to the C:\Windows or C:\Windows\System32 folders.

Can anyone give me a suggestion as to what I need to do in order to further troubleshoot this? I've been hammering at this for several days and I admit that I've lost my impartiality :)

Thanks!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.