|
How do I get rid of the following erroe message?
The syntax 'for replication startup options' is deprecated and will be removed in MySQL 5.2. Please use 'CHANGE MASTER' instead.
|
|
|
|
|
|
It is already in my my.ini File on all my Slaves.
It is as follows:
CHANGE MASTER TO
MASTER_HOST='master-hostname'
MASTER_USER='slave-user'
MASTER_PASSWORD='slave-password'
What else do you suggest trying?
|
|
|
|
|
Instead of adding it to my.ini, I think you should execute the CHANGE MASTER command. That command modifies the master.info file and sets the new values for each option you specify. Those options that you do not specify are left unchanged.
|
|
|
|
|
Do you run that command on the MASTER Server or all of the SLAVE Servers. I am running Windows XP Professional on all Units.
|
|
|
|
|
On the slaves. From documentation:
"CHANGE MASTER TO changes the parameters that the slave server uses for connecting to and communicating with the master server"
|
|
|
|
|
I ran the same command set on each of the slaves, stopped each of the slave servers after updating the information and then restarted them each. Went back to the Main server and stopped it and restarted it. Got the same exact error message upon starting the server.
Trying to start the server ...
Server was started.
The syntax 'for replication startup options' is deprecated and will be removed in MySQL 5.2. Please use 'CHANGE MASTER' instead.
Slave SQL thread initialized, starting replication in log 'MEDCO1.000002' at position 4, relay log '.\MEDCO1-relay-bin.000036' position: 4
Event Scheduler: Loaded 0 events
C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld-debug: ready for connections.
Version: '5.1.30-community-debug-log' socket: '' port: 3306 MySQL Community Server - Debug (GPL)
Slave I/O: error connecting to master 'slave-user@master-hostname:3306' - retry-time: 60 retries: 86400, Error_code: 2005
|
|
|
|
|
Do you still have the options in my.ini. That would explain the problem. Also you should check that there are no leftovers in master.info. That overrides my.ini.
|
|
|
|
|
All lines of code that pertain to the Previous Change Master are removed from the My.ini files. Is there anyway to change or verify the master .info file or Purge it?
|
|
|
|
|
I don't know if they have a tool for that. You could search on their site or manuals. However, if I remember correctly, master.info is plain text so you can easily check it's contents.
|
|
|
|
|
I have Seven Separate MySQL Servers that Have The Same Local Databases on Each Platform that need to update each other at the completion of a run (or test). Each Server will Retain its local results and also update the other 6 Servers when it completes its test or run. It can run in stand alone mode if Network is Down. If Network is up it must receive the other 6 Servers Informatio as well when the other servers complete a test or run and the Network is up. What is the easiest Way to accomplish this using the free features of MySQL? Please provide examples or free utilities or code generators that can accomplish this. Regards. BC.
|
|
|
|
|
Sounds to me like a homework question. How do YOU expect to achieve this?
BobClarkSQL wrote: Please provide examples or free utilities or code generators that can accomplish this
Try google.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
I was wondering if someone knows how to use a DBI to exec a sql script and copy the data collect to an Excel Spreadsheet?
|
|
|
|
|
What Database you ues?
If you use sql server,You can do it with a simple export with Intergration Service of SQLServer.
|
|
|
|
|
|
Urgent help Please!
I have a table exist in two database on two different server in sql server. I want to get the data of table from one table and another. When I am using OPENROWSET command it through error. I don't know what it mean. Is there any way to migrate the data. One problem is that I have a column for multi language when i migrate the date the multilingual colum show ??????? and not the original one.
thanks in advance
|
|
|
|
|
It would greatly help if you post the command you tried to use and the error message you got.
|
|
|
|
|
Hello!
I m planning to use PostgreSQL but I have one doubt how can i take a backup.
I check some of website they refer dump command that also for LINUX How can i take backup in XP and how to restore after partition plz help me.
and i want to know where that backup file is stored.
Thanx's in advance.
|
|
|
|
|
PostgreSQL uses a little bit different approach than most of DBMS's do. It creates a file containing SQL commands which can be again executed back to an empty database. This will lead to the situation where the database was when the dump was made.
Dump is taken using pg_dump or pg_dumpall utility and the result will be echoed which then again can be redirected to a file and to a place you choose.
For more info, look: SQL Dump[^]
Addition:
Of course every database can be backed up by taking copies from the files using operating system, but in order to do that, the database engine must be first shut down in order to get a consistent image.
modified on Tuesday, January 20, 2009 12:56 PM
|
|
|
|
|
Ya I tried it's working.
But I didn't find backup file.
Know I am format my hard disk so I'll copy that file in some removable devices after installation of XP I want run that backup file so How can i do that one ???
pass 5 hour back I am trying can't do it plzz help me.
|
|
|
|
|
non-bugging Errors wrote: But I didn't find backup file
What was the command you issued?
|
|
|
|
|
|
pg_dump is a utility, so you run it at command prompt. For example:
pg_dump -Fc -b -v -f "C:\std1.backup" samp
|
|
|
|
|
Thanx's it working with database log-in parameter.
|
|
|
|
|
Good to hear, you're welcome
|
|
|
|