Esat kemal Ekren
Esat kemal Ekren

Reputation: 556

MySQL to PHP Connection Error in Localhost with Dreamweaver

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???

enter image description here

Upvotes: 0

Views: 1967

Answers (1)

Suraj Mundalik
Suraj Mundalik

Reputation: 24

Try to echo mysql_error() This will give you actual connection error details

Upvotes: 1

Related Questions