Skip to main content
August 12, 2009
Question

Can't "connect to database" from Dreamweaver CS3

  • August 12, 2009
  • 1 reply
  • 874 views

This question maybe more appropriate for the PHP or MySQL Forum but since the problem is encountered in Dreamweaver CS3, I am going to first try getting help on this Forum.

I have a LINUX CentOS 5.3 Server with Apache (httpd-2.2.3) & PHP-5.1.6 installed. I also have a text site; httpd://ip.tib.com on it.

I am using a WinXP with DW CS3 to develop & test the above web site. Currently I am trying to setup a test dynamic page and am reading Dreamweaver USER GUIDE page 514 Chapter “Database Connections for PHP Developer”.

FYI, the Remote & Test Servers are setup for the web site under construction and connections to both are tested successfully from DW CS3.

Now when I try to test “Connect to a database” (Dreamweaver USER GUIDE page 514) , I get the following error message:

Your PHP server doesn’t have the MySQL module loaded or you can’t use mysql_(p)connect function.

First of all, I can connect to the MySQL server and create/edit/delete tables from WinXP using Navicat Package. I have looked into “php.ini” on the LINUX server but can’t figure out what changes I need?

Any help is highly appreciated.

This topic has been closed for replies.

1 reply

August 13, 2009

I have resolved this problem.

PHP 5.3 no longer bundles the MySQL libraries. I couldnot find the missing libraries anywhere. I switched back toolder versions of both MySQL & PHP, where MySQLlibraries are bundled with PHP package.

Problem solved.