Yes. My php script connects without a problem to the database, user, and database schema that I set up for WP. That tells me the database has been set up and all the appropriate rights have been granted. It is WP that cannot make a connection using the same credentials.