WP on master-to-slave mysql
-
Hi guys,
I have wordpress up and running. The idea I came up with was to have 1 master server where I write posts and multiple read only slaves. Everthing works flawlessly, nevertheless, when I turned on the following option:
SET GLOBAL READ_ONLY=1
on my slave server – I cannot access my posts and getting 500 Service Unavailable. I took a look into Apache logs and found out that WP is trying to write to the database whenever a user opens my webpage. My database, as I have mentioned before is read only and therefore my solution does not work.
Is there any possibility so that nothing was written to the database when users access my website? It will be purely read-only then.
Thanks for any pieces of advice,
P.
- The topic ‘WP on master-to-slave mysql’ is closed to new replies.