Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

mysql_connect() fails with new schema/user


KnuckleDragger

Recommended Posts

I am doing a "cut-and-paste" of a working website in an attempt to get a new site up and running quickly. The new site works against the original database schema. But if I try to use the newly created user account and schema, I get the "Unable to connect to database server!" die message.

 

I am able to connect and query oscommerce data using the new user account/schema using the MySql command line tool and query brower. I have placed an ECHO statement immediately before the tep_db_connect() call in application_top.php to confirm the correctness of the server name, user name, password, and database name.

 

What on earth have I forgotten?

 

Thanks,

 

Chris Lincoln

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...