Support for MySQL 5.x is not installed by default anymore see <http:// us3.php.net/manual/en/faq.databases.php#faq.databases.mysql.php5> for why

To instal support see the php.net help page at <http://us3.php.net/ mysql> in many ways one should shift to using the mysqli extensions for php 5 as well see
<http://us3.php.net/manual/en/ref.mysqli.php> for more information.

The php version from Marc Linanage <http://www.entropy.ch/software/ macosx/php/> has support for mysql (up-to and including 5) as part of the installer, I am not sure about the mysqli extensions though.

HTH

Sam D
On Aug 11, 2006, at 7:47 PM, Phil M wrote:

I'm trying to use PHP to connect to a MySQL database (to which I have already set up). Individually each works (PHP - ver 4.4.1 and MySQL ver 5.0.24 standard); I can write PHP into an html page, and I can connect to my MySQL database through the 'mysql' command from Terminal.app, but I can't get a connection from PHP to the MySQL database

I don't believe that PHP is capable of accessing MySQL 5.0 databases... has to do with the new password scheme, and the fact that the MySQL license became too restrictive to continue using MySQL in future PHP development. In fact, MySQL is not the default database for PHP 5.0... SQLite is.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to