Try to echo mysql_error() This will give you actual connection error details
使用Dreamweaver在Localhost中使用MySQL连接错误
I Try to access my localhost database which i created with phpmyadmin from dreamweaver. I did successfully setup site and server. I could see my site in the browser with localhost. But when i try to connect from dreamweaver and try to select database it says Your PHP server doens't have the MySQL module loaded or you can't use the mysql_(p)connect functions.
I'm using mac os x el captian and MAMP for the servers.
Thank you for your help
PDO
PDO support enabled PDO drivers mysql, sqlite, pgsql
in this image i couldn't connect database i can connect with PDO but how can i see the database and bindings in here???
- 点赞
- 写回答
- 关注问题
- 收藏
- 复制链接分享
- 邀请回答
1条回答
为你推荐
- Dreamweaver登录有多安全?
- php mysqli_insert_id()错误
- 如何将mysql查询结果作为变量传递给另一个查询搜索?
- php + ajax +评论系统错误[关闭]
- 关于我的php网站和mysql连接我真的很困惑和沮丧
- 关于php和dreamweaver的问题?
- dreamweaver
- php
- 2个回答
- 在哪里为订单表单添加PHP脚本?
- Cakephp无法连接到sqlserver
- php
- wamp
- 3个回答
- PHP将文件和文本从多个文本字段上传到mysql
- PHP将上传的图像显示到其他页面
- 创建水平条形图
- 使用Dreamweaver在Localhost中使用MySQL连接错误
- 将php内容加载到Phonegap中
- cordova
- php
- javascript
- html5
- jquery
- 1个回答
- 请问各位知道怎么解决Wampserver无法连接mysql时出现1862:登录密码过期的问题吗?麻烦帮下忙,谢谢!