Jump to content

PHP MySql PConnect with two different MySql users


BioBob

Recommended Posts

In a nutshell, there are two different databases.  Each DB has a different user for security.  I dont want both accounts being able to write to both databases otherwise using two different logins is pointless.

 

After I get my data from the first connection (its a PConnect, I know that means Persistent, its SELECT privies only and its going to be used very frequently), I try to connect to the other DB with different user credentials, also using PConnect.  But the error it keeps kicking back is that it is trying to log in with the FIRST users credentials.  I am specifying the login info for the 2nd User but it keeps trying to connect only using the 1st.  Not the behavior I want.  What causes this?

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.