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.

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

Server2
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?

thanks,
LVL 5
ncomperAsked:
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:
Hi!

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

http://dev.mysql.com/doc/refman/5.5/en/account-management-sql.html

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.

http://www.howtoforge.com/mysql_database_replication
http://dev.mysql.com/doc/refman/5.5/en/replication-howto.html

Regards,
     Tomas Helgi
0

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:
http://support.experts-exchange.com/customer/portal/articles/481419
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.

Regards,
    Tomas Helgi
0
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.