|
-
Feb 19th, 2006, 03:31 PM
#1
Thread Starter
Frenzied Member
Installation Problem [RESOLVED]
Hello everybody,
I am not a PHP developer, but need to run a PHP/MySQL application on my system. I installed different versions of PHP and MySQL and trying to run the application, I can access database, run queries etc., I can run PHP pages, but I cannot connect PHP app with MySQL database.
Sometimes, the methods are not recognized by the compiler, sometimes, it says client version is not supported etc.
I just need to know, what version of MySQL (Server and client) to be installed, what version of PHP to be installed, which one to install first, and where to get these things.
I am using Win 2000 Professional.
Thanks.
Last edited by usamaalam; Feb 23rd, 2006 at 02:56 AM.
-
Feb 19th, 2006, 03:35 PM
#2
<?="Moderator"?>
Re: Installation Problem
What version of PHP and MySQL do you have installed, whats the application your trying to run and what are the exact error messages that are displayed.
-
Feb 19th, 2006, 03:40 PM
#3
Thread Starter
Frenzied Member
Re: Installation Problem
I installed MySql 4.1.11 (SqlYog client) and PHP 4.2.2. I am getting something client version is not supported, consider upgrading the server etc. I will check the actual message from my office and let you know.
Thanks.
-
Feb 19th, 2006, 03:50 PM
#4
<?="Moderator"?>
Re: Installation Problem
Im not sure exactly what version of MySQL it was but they changed their authentication method. This means that the older versions of PHP cant connect, try using a newer version of PHP. This should solve your problem if it is a problem with MySQL authentication methods and PHP.
-
Feb 20th, 2006, 02:52 PM
#5
Thread Starter
Frenzied Member
Re: Installation Problem
Here's the error message I am getting.
Client does not support authentication protocol requested by the server; consider upgrading MySql client.
I tried php 5.x and getting some other error message. I think its MySql (server or client) version problem.
What version of MySql you guys use with PHP 4.2.2 and where can I get it?
Thanks.
-
Feb 21st, 2006, 02:02 AM
#6
Frenzied Member
Re: Installation Problem
usamaalam:
I would suggest that you get the latest versions of MySQL and PHP.
Get them here:
http://dev.mysql.com/downloads/
http://www.php.net/downloads.php
I am pretty sure the latest version for each is 5.x
Good Luck
-
Feb 23rd, 2006, 02:55 AM
#7
Thread Starter
Frenzied Member
Re: Installation Problem
I have got MySql 4.0.21 and PHP 4.3.1 and its working now.
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|