Jump to content

I have a problem with dbConnect


Quiz

Recommended Posts

Hello guys, I started a new project recently

When I started using dbConnect with MySql, I couldn't connect to my db, after searching for days, I found that I have to use unix socket because I use a unix system ( Debian 6 64-bit )

this is my try

db = dbConnect( "mysql", "dbname=Gold;host=localhost;port=3306;unix_socket=/var/run/mysqld/mysqld.sock", "root", "MyPass" ) 

error message

dbConnect failed; Could not connect 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...