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.