I was wondering if 2 or more MySQL daemons can access the same database.
I have 2 load balanced web servers running RHEL5/Apache/MySQL and I've moved the datadir on both servers to shared SAN storage (NFS) so both servers can access a single database.
Will this work or would I need to spin up a separate database server with its own MySQL daemon that both web servers can connect to? Do I need to worry about allowing write access only from 1 web server?
I have 2 load balanced web servers running RHEL5/Apache/MySQL and I've moved the datadir on both servers to shared SAN storage (NFS) so both servers can access a single database.
Will this work or would I need to spin up a separate database server with its own MySQL daemon that both web servers can connect to? Do I need to worry about allowing write access only from 1 web server?