News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

The MySQL server is running with the --read-only option?

Started by peps1, January 30, 2015, 05:05:58 AM

Previous topic - Next topic

peps1

The forum has been working fine, until i just tried to go there and got this error?

Database Error
The MySQL server is running with the --read-only option so it cannot execute this statement
File: D:\Hosting\5759648\html\forum\Sources\Subs.php
Line: 2674


And then clicking on the home button take me to a 500 (Internal Server) Error screen?

Illori


ziycon

This is a configuration issue and can either occur due to a problem with configuration/communication or if it has specifically set to read only, as Illori said, only your host can resolve this.

If you host the MySQL server yourself, have a look in the .ini or .cfg file in the lib directory of where MySQL exists on your server for the read-only setting.

Advertisement: