Jump to content

dbConnect doesn't work


MIKI785

Recommended Posts

Hello,

I have a problem with dbConnect, it says: "dbConnect failed; Could not connect", why ?

Everything is ok, user, password DB name.. everything. It works with other programs.

handle = dbConnect( "mysql", "dbname=oh1588;host=92.240.***.**", MYSQL_USERNAME, MYSQL_PASSWORD ) 

I tried IP and DNS name, both doesn't work.

Btw. those stars are not in the code.

MYSQL_USERNAME and MYSQL_PASSWORD are defined strings, which are correct credentials.

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