Services webmasters
Partenaires
Jeux concours gratuits
 
Can I access Microsoft Access databases?
<<<
I upgraded to PHP 4, and now mysql keeps telling me "Warning: MySQL: Unable to save result set in ...". What's up? PHP 5 no longer bundles
>>>

10.4 Database issues
10 FAQ : Foire Aux Questions
 Manuel PHP

I heard it's possible to access Microsoft SQL Server from PHP. How?
Can I access Microsoft Access databases?
-> I upgraded to PHP 4, and now mysql keeps telling me "Warning: MySQL: Unable to save result set in ...". What's up?
PHP 5 no longer bundles
After installing shared MySQL support, Apache dumps core as soon as libphp4.so is loaded. Can this be fixed?
Why do I get an error that looks something like this: "Warning: 0 is not a MySQL result index in <file> on line <x>" or "Warning: Supplied argument is not a valid MySQL result resource in <file> on line <x>?

10.4.3 I upgraded to PHP 4, and now mysql keeps telling me "Warning: MySQL: Unable to save result set in ...". What's up?

Most likely what has happened is, PHP 4 was compiled with the '--with-mysql' option, without specifying the path to MySQL. This means PHP is using its built-in MySQL client library. If your system is running applications, such as PHP 3 as a concurrent Apache module, or auth-mysql, that use other versions of MySQL clients, then there is a conflict between the two differing versions of those clients.

Recompiling PHP 4, and adding the path to MySQL to the flag, ' --with-mysql=/your/path/to/mysql ' usually solves the problem.

<< I upgraded to PHP 4, and now mysql keeps telling me "Warning: MySQL: Unable to save result set in ...". What's up? >>
Can I access Microsoft Access databases? Database issues PHP 5 no longer bundles
Services webmasters
Les manuels
 
CoursPHP.com - Reproduction interdite -