Can the server id in the myid field be any valid long value? I'm interested in generating, rather than pre-assigning, a unique id for every server, so my current plan is to convert the server's IP address into a 32-bit integer, and use the decimal, ASCII representation of that integer for the myid field. Can anyone think of a reason not to do this? For example, if the code ever uses the id as an index into an array, that would probably be bad.



Reply via email to