Wondering why your database access isn’t working?
If you get the following error on login: “Database write access incorrect. Please check database configuration.” – and let’s say you’ve checked the login and it works just fine. Mass confusion sets in and you start blaming the opensource community for writing bad code and are very annoyed. Don’t get too upset. Chances are you just have the following set on your server: “read-only”. You can test this by running the query that updates your user account for ‘last-login time’ via the command line.
(root@g5)-(/var/www/html/kontrollbase)-ROOT
shell> mysql -ukb_app --password=password kontrollbase -e "update system_users set system_user_last_login = NOW() where id = '14' limit 1"
ERROR 1290 (HY000) at line 1: The MySQL server is running with the --read-only option so it cannot execute this statement





Comments are closed.