【发布时间】:2014-10-21 05:27:38
【问题描述】:
我想用dreamweaver 和mysql 建立一个网站。我在mac上使用mamp与mysql通信。但是当我尝试用我的sql建立数据库连接时,我得到了这个错误:
HTTP 错误代码 404 文件未找到。以下是问题的一些可能原因:
1) There is no testing server running on the server machine.
2) The testing server specified for this site does not map to the "http://localhost/LabelSite/_mmServerScripts/MMHTTPDB.php URL."Verify that the URL Prefix maps to the root of the site.
我用谷歌搜索并尝试了很多方法,但没有一个有效。这是我已经尝试过的:
1)copying MMHTTPDB.php and mysql.php to /Applications/MAMP/htdocs/LabelSite/_mmServerScripts
2)changing the web url to "http://localhost/8888/LabelSite"
但他们都没有工作
以下是我通过 Dreamweaver 设置网站的方式:
我确实在服务器的高级标签上选择了服务器模型为“PHP MYSQL” 任何建议将不胜感激,谢谢!
【问题讨论】:
标签: mysql dreamweaver