your PHP server doesn’t have the MySQL module loaded or you can’t use mysql_(p)connect function
Copy link to clipboard
Copied
your PHP server doesn’t have the MySQL module loaded or you can’t use mysql_(p)connect function. how to solver it? with dreamweaver cs6
Copy link to clipboard
Copied
The mysql module is deprecated and you should use MySQLi or PDO for database connections.
You can verify which database connection methods are available by running php on your server. To do so, create a new PHP file, place in it the following code:
<?php
phpinfo();
name it info.php, and upload it to your server. Then run it. It will report which database connection methods are available.
Copy link to clipboard
Copied
I was in a hurry when I posted earlier. Here is some more info.
When you run phpinfo(), you are shown a screen that has a long list of the features that are activated in your installation of PHP. Scroll down to the section with the title "mysqli." Look above it and see if there is a section called "mysql" and if it is listed as "enabled."
As Nancy said, switch to mysqli or PDO.
Copy link to clipboard
Copied
To add more to what Rob said, you should not be using the deprecated Server & Database panels in DW. They were removed from DW CC for a reason. The code is grossly outdated and incompatible with modern servers running the latest versions of PHP.
If you can't code manually with MySQLi (improved) or PDO, you can purchase commercial extensions to replace the deprecated panels in DW.
http://www.webassist.com/dreamweaver-extensions/mysqli
Nancy O.

