Http500 exception occurred when connecting mysql data in dreamweaver

Source: Internet
Author: User
Connect to mysql data in dreamweaver. If an http500 error occurs, connect to mysql data in dreamweaver. if an "http Error 500 Internal Server Error" error occurs, click it! Thank you! (Note: php runtime environment has been set up) mysql: 5.3.10dw: MX (cannot be connected with CS) ------ solution ------------------ your php part is wrong ----- connect mysql data in dreamweaver, http500 error
Connect mysql data in dreamweaver, and the "http Error 500 Internal Server Error" message is displayed! Thank you! (Note: php runtime environment has been set up)
Mysql: 5.3.10
Dw: MX (cannot be connected with CS)

------ Solution --------------------
Something wrong with your php
------ Solution --------------------
Set your ie to enable the error display mode. At the same time, you will know what is going on when an error message is displayed in php.
------ Solution --------------------
Discussion

Thanks for PhpNewnew. the error dialog box pops up when I connect to mysql in dreamweaver. it has nothing to do with the display in IE. In addition, the error display mode of ie is enabled. This is actually the problem: failover.

------ Solution --------------------
1. in php. ini
Display_errors = On

2. if your database connection code is not written by you, it is created by dreamweaver
Make sure mysql has been started
Whether the database name, user name, and password you provided are correct

The http 500 error indicates that the server rejects the response.
For php applications, the most likely cause of this error is that php detects a program problem and cannot output an error (display_errors = Off)

There may also be other causes, but the problem always needs to be investigated step by step.

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.