PHP MySQL library version differs from MySQL server version

Problems with the Windows version of XAMPP, questions, comments, and anything related.

PHP MySQL library version differs from MySQL server version

Postby mjwiech » 10. May 2009 12:35

Hi,

I installed the recent version of Xampp which is my absolute favourite local web server and I noticed the following:

1. MySQL server version is 5.1.33
2. MySQL Client API library version is 5.0.51b
3. MySQL Client API header version is 5.0.51a

Is it something I should worry about?
PhpMyAdmin version 3.1.4 gives me a warning that "This may cause unpredictable behavior". PhpMyAdmin 3.1.3.1 says nothing in that matter.

Is it possible to fix somehow?
Does PHP support MySql 5.1.33?
I think that the libraries involved are libmysql.dll and PHP extensions php_mysql.dll and php_mysqli.dll.

I noticed also that there are more than one copy of libmysql.dll:
- in \Xampp\apache\bin
- in \Xampp\mysql\bin (this is the newest one)
- in \Xampp\php\bin
Which one is relevant during Xampp run time?

Kind regards
mjw
mjwiech
 
Posts: 8
Joined: 29. July 2008 09:38

Re: PHP MySQL library version differs from MySQL server version

Postby mjwiech » 11. May 2009 05:55

No tips?
mjwiech
 
Posts: 8
Joined: 29. July 2008 09:38

Re: PHP MySQL library version differs from MySQL server version

Postby argh6601 » 12. May 2009 15:44

I too am looking for a fix for this
argh6601
 
Posts: 3
Joined: 21. March 2009 22:00

Re: PHP MySQL library version differs from MySQL server version

Postby mjwiech » 20. May 2009 14:28

argh6601 wrote:I too am looking for a fix for this


Thanks a lot!
mjwiech
 
Posts: 8
Joined: 29. July 2008 09:38

Re: PHP MySQL library version differs from MySQL server version

Postby sari42 » 21. May 2009 12:03

- in \Xampp\mysql\bin (this is the newest one)

try the following:
rename all other libmysql.dll to, e.g., old-libmysql.dll
copy \Xampp\mysql\bin\libmysql.dll into your %windir%\systems32\ directory
(or into the first folder in your search path)
sari42
 
Posts: 800
Joined: 27. November 2005 18:28

Re: PHP MySQL library version differs from MySQL server version

Postby RKramkowski » 28. June 2009 14:27

So did this work? I tried copying the dll to all the other locations you listed. When I bring up mySqlAdmin, it now shows that the client and server match, but it doesn't run. For now, I reverted back to the older client.
RKramkowski
 
Posts: 2
Joined: 28. June 2009 04:53

Re: PHP MySQL library version differs from MySQL server version

Postby rdwonline » 28. June 2009 18:52

I'm hoping this will be fixed when the developers add PHP 5.3 final to XAMPP...
rdwonline
 
Posts: 10
Joined: 14. March 2009 20:48

Re: PHP MySQL library version differs from MySQL server version

Postby mjwiech » 03. July 2009 13:14

As yet Xampp works ok with this version difference.
I've seen something about a bug... but I don't recall whether it was a bug in MySQL library, in PhpAdmin or somewhere else.
mjwiech
 
Posts: 8
Joined: 29. July 2008 09:38


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 103 guests