Jump to content

Re-establish the WHMCS MYSQL connection after connecting to another MYSQL database


growe

Recommended Posts

I have tried to figure out how to reconnect to the original database after connecting to another external one but am having trouble.

 

I have tried mysql_close(); to close the external connection but it looks like I still need to reconnect to the WHMCS connection. Another thread said to use $whmcsmysql but I am having a brain fart at the moment and can't seem to get the code to work. Anyone have a code example of how to reconnect to $whmcsmysql

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated