Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Can't "connect to database" from Dreamweaver CS3

Guest
Aug 12, 2009 Aug 12, 2009

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.

TOPICS
Server side applications
875
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 13, 2009 Aug 13, 2009
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines