IIS ==> phpMyAdmin Databse access

Afternoon all,
          I am new to this area of tech so please ask if i am missing fundamental points. The configuration is as follows.

LAMP server - www.WorkingSiteA.com/Delegates 
Local server has a database called delegates101 that is linked to the above with local account

IIS Server - www.WorkingSiteB.com

They would like the following on Server2

IIS Server - www.WorkingSiteB.com/Delegates
Linking to the Database (on workingsiteA) delegates101

i need to permit/configure access from workingsiteB to workingSiteA, is there an easy way to complete this?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Tomas Helgi JohannssonCommented:

For that setup you would need to open the database port between Server1 and Server2 and then have a user that has the same/similar access to the database as the local user using the following grant

CREATE USER username@server2_IP_ADDRESS identified by somepasswd;
GRANT privl ON DELAGATES.* TO username@server2_IP_ADDRESS


Note that in this setup (where the database is only on Server1 ) the database on Server1 is a single point of failure.
To overcome that you will need to setup a MySQL Server instance on Server2 and setup a database replication of the Delagates database.


     Tomas Helgi

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Tomas Helgi JohannssonCommented:
Please see the grading guidelines here:
A should be the default grade awarded unless the answer is deficient.
When closing the question, the asker should explain why a B grade was awarded.

    Tomas Helgi
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
MySQL Server

From novice to tech pro — start learning today.