Php and mysql problems

Source: Internet
Author: User
Php and mysql problems my machine has two versions of mysql, one is 5.01 and the other is 5.5. how can I connect php to version 5.5 by default instead of 5.0?


Reply to discussion (solution)

New guy, please advise !!!!!

Why are two versions installed? Since you don't want to use 5.0 to unmount it directly, it's okay.

Manually configured apache settings

Can I use different port numbers for mysql?

That 5.0 is built into another tool, which is still in use. Can you tell me more?

Changed the port of mysql5.5, but the default port is 5.0.

Phpinfo displays the mysql client version used by your php, regardless of the mysql server version.

So I installed version 5.5. what should I do if I want to use the client version 5.5?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.