Error reading master configuration
Error reading master configuration
設定主從同步時,出現下面的問題:
MariaDB [(none)]> change master to master_host='192.168.118.159', master_user='song_rep', master_password='song_rep', master_port=3307, master_log_file='binlog.000005', master_log_pos=624;
ERROR 1201 (HY000): Could not initialize master info structure for ''; more error messages can be found in the MariaDB error log
檢視日誌檔案
150207 22:36:06 [ERROR] Error reading master configuration
裡面只有這一行。
重置salve之後,可以。
MariaDB [(none)]> reset slave;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> change master to master_host='192.168.118.159', master_user='song_rep', master_password='song_rep', master_port=3307, master_log_file='binlog.000005', master_log_pos=624;
Query OK, 0 rows affected (0.04 sec)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/25099483/viewspace-1471044/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Got fatal error 1236 from master when reading data from binary logGoErrorAST
- MySQL案例09:Last_IO_Error: Got fatal error 1236 from master when reading data from binary logMySqlASTErrorGo
- MySQL ERROR Got an error reading communication packetsMySqlErrorGo
- MySQL主從複製報錯:Got fatal error 1236 from master when reading data fromMySqlGoErrorAST
- MySQL複製環境Slave報錯"Got fatal error 1236 from master when reading data"MySqlGoErrorAST
- OEM Configuration ErrorError
- Master Note for Streams Recommended Configuration [ID 418755.1]AST
- WARN mapred.JobClient: Error reading task outputNo route to hostclientError
- git push origin master 時出現報錯 error: src refspec master does not match any error: failed to push someGitASTErrorAI
- Error: Cannot find configuration directory: /etc/hadoopErrorHadoop
- rake deploy ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to解決方法ASTForwardErrorAI
- master bug InnoDB Error unlock row could not find a 4 mode lockASTError
- Percona MySQL 日誌中出現大量Aborted connection (Got an error reading)MySqlGoError
- Fatal error: can't check configuration file '/home/watt/proxy/dError
- ERROR 2013 (HY000): Lost connection to MySQL server at 'reading authorization paErrorMySqlServer
- MySQL Master/Slave Master/MasterMySqlAST
- Error:A problem was found with the configuration of task ':app:packageDebug' 問題解決ErrorAPPPackage
- MAPPING configuration error for request URI /ejbCLient/testEJB.jspAPPErrorclientJS
- 記處理線上記錄垃圾日誌 The view 'Error' or its master was not foundViewErrorAST
- 在 fish 終端下報錯 source: Error while reading file “xxx” 等問題ErrorWhile
- Failed: error reading separator after document # 1: bad JSON array format - found no opening brackAIErrorJSONORM
- mysql主從同步失敗Last_IO_Error: Got fatal error 1236 from master解決方法MySql主從同步ASTErrorGo
- 記錄GitHub使用過程中的 error: src refspec master does not match anyGithubErrorAST
- 【Mysql】Slave_IO_Running: No---Got fatal error 1236 from masterMySqlGoErrorAST
- Error during execution of SQL script for creation of master account ORA-00922:ErrorSQLAST
- reading input to shell
- ! [rejected] master -> master (fetch first)AST
- Mysql5.6 Master+MasterMySqlAST
- 測試中出現ERROR StatusLogger No log4j2 configuration fileError
- configuration error-could not load file or assembly crystaldecisions.reportappserver.clientdocErrorAPPServerclient
- BraTs literature reading(Lee)
- Redis Reading NotesRedis
- Lost connection to MySQL server at ‘reading initial communication packet', system error: 0 mysql遠端連線問題MySqlServerError
- brew 報錯 error: Not a valid ref: refs/remotes/origin/master 的解決方法ErrorREMAST
- MySQL 8.0.26 bug ERROR 1064(42000) -master-data is deprecated and will be removeMySqlErrorASTREM
- Docker 映象拉取失敗(error pulling image configuration:download failed)DockerErrorAI
- Mongodb的master-slave模式與master-master模式實驗MongoDBAST模式
- change master 未指定master_log_fileAST