PDA

View Full Version : MySQL database(s)


Sifmole
2003-12-21, 00:01 AM
Hi,

I have two different virtual hosts that I want to be able to access the same database. How do I set this up?

Going via the ensim configuration, there is a database prefix supplied which it states should not be changed.

Thanks in advance,
Bill Robinson

Buckaroo
2003-12-22, 19:15 PM
If you want to stay within Ensim's supported methods, you'll have to share the mysql user/pass for the database among the two sites. Otherwise, you'll have to manually create a new user as mysql root user and assign the user via grant command to the database you want to share.