You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An error occurred after the mysql active/standby switch:The MySQL server is running with the --read-only option so it cannot execute this statement
#49
Open
guoweikuang opened this issue
Sep 30, 2021
· 0 comments
1、Stop the main library directly, and then switch between main and standby
2、log print: The MySQL server is running with the --read-only option so it cannot execute this statement
3、The read_only parameter confirms that it has been set to 0
4、 mysql 5.6 dsn: master db2Dsn: slave
`
GORM Playground Link
go-gorm/playground#1
Description
1、Stop the main library directly, and then switch between main and standby
2、log print: The MySQL server is running with the --read-only option so it cannot execute this statement
3、The read_only parameter confirms that it has been set to 0
4、 mysql 5.6
dsn: master
db2Dsn: slave
`
`
The text was updated successfully, but these errors were encountered: