Jump to content


Photo

Cannot connect to MySQL Database


  • Please log in to reply
4 replies to this topic

#1 NovaHaCker

NovaHaCker
  • Members
  • PipPip
  • Member
  • 15 posts
  • LocationAdelaide, Australia

Posted 21 April 2003 - 01:19 PM

I lost windows XP over the long weekend :( so i reinstalled her :)

Now I redownloaded and reinstalled

IIS 5.1
PHP 4.2.3
mySQL 4.0

I can access my .php pages through the browser but cannot connect to the database at all!!!

The username and password have been set properly.

I can\'t think of anything else that could be wrong :\'(

Please help


Thanks

BRenton
- Brenton Dobell - [br][br]"Coding while under the influence of alcohol can produce very ........ummmm interesting results."

#2 NovaHaCker

NovaHaCker
  • Members
  • PipPip
  • Member
  • 15 posts
  • LocationAdelaide, Australia

Posted 21 April 2003 - 01:21 PM

This is an error being reported from one of my scripts

Warning: your browser was not able to connect to the database-server. Please try to reload the page by clicking on reload. If this problem is still there, contact the administrator:
- Brenton Dobell - [br][br]"Coding while under the influence of alcohol can produce very ........ummmm interesting results."

#3 NovaHaCker

NovaHaCker
  • Members
  • PipPip
  • Member
  • 15 posts
  • LocationAdelaide, Australia

Posted 21 April 2003 - 01:45 PM

im not sure if this would help but i was just looking in the WinMySQL Admin thingy and on the opening page with the ODBC

This is what is displayed in the box below it

Not Found
Driver 3.51 not found

I am so puzzeled

Ive never had this much trouble b4
- Brenton Dobell - [br][br]"Coding while under the influence of alcohol can produce very ........ummmm interesting results."

#4 shivabharat

shivabharat
  • Members
  • PipPipPip
  • Advanced Member
  • 371 posts
  • LocationChennai, India

Posted 21 April 2003 - 03:27 PM

Hey are u using obc connection??

Then u need the mysql driver

u can download the mysql -odbc driver from mysql site.
Knowledge --- Reading Enriches Mind But Sharing Enhances It.[br][br]Note: Before you request help enusre that you have had a look at the tutorials @phpfreaks

#5 NovaHaCker

NovaHaCker
  • Members
  • PipPip
  • Member
  • 15 posts
  • LocationAdelaide, Australia

Posted 22 April 2003 - 10:34 AM

I am just using plain old php and sql, Plus i have never had to download anything other than the executables before anyways?? But ill try it anyways

Thanks, Brenton
- Brenton Dobell - [br][br]"Coding while under the influence of alcohol can produce very ........ummmm interesting results."




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users