I installed a mysql 5.6 server.
and then I checked auto.cnf file and mysql.inventory table.
cat auto.cnf
[auto]
server-uuid=e8a83283-3407-11e4-9b7a-984be1af665e
mysql>
mysql> select * from inventory;
+--------+-------------------------------------------------+
| name | value |
+--------+-------------------------------------------------+
| uuid | e8a83283-3407-11e4-9b7a-984be1af665e |
| hostid | sid:{S-1-5-21-3578531070-2090795707-2215070512} |
-----------------------------------------------------------+
Between value of auto.cnf and inventory are same.
I delete the auto.cnf file and then restart mysql server.
But auto.cnf is changed for the value differ from inventory table.
[auto]
server-uuid=b7bef9dd-349d-11e4-9f4b-984be1af665e
mysql> select * from inventory;
+--------+-------------------------------------------------+
| name | value |
+--------+-------------------------------------------------+
| uuid | e8a83283-3407-11e4-9b7a-984be1af665e |
| hostid | sid:{S-1-5-21-3578531070-2090795707-2215070512} |
-----------------------------------------------------------+
The value of inventory is not changed.
why are both values different? which one is standard?
and then I checked auto.cnf file and mysql.inventory table.
cat auto.cnf
[auto]
server-uuid=e8a83283-3407-11e4-9b7a-984be1af665e
mysql>
mysql> select * from inventory;
+--------+-------------------------------------------------+
| name | value |
+--------+-------------------------------------------------+
| uuid | e8a83283-3407-11e4-9b7a-984be1af665e |
| hostid | sid:{S-1-5-21-3578531070-2090795707-2215070512} |
-----------------------------------------------------------+
Between value of auto.cnf and inventory are same.
I delete the auto.cnf file and then restart mysql server.
But auto.cnf is changed for the value differ from inventory table.
[auto]
server-uuid=b7bef9dd-349d-11e4-9f4b-984be1af665e
mysql> select * from inventory;
+--------+-------------------------------------------------+
| name | value |
+--------+-------------------------------------------------+
| uuid | e8a83283-3407-11e4-9b7a-984be1af665e |
| hostid | sid:{S-1-5-21-3578531070-2090795707-2215070512} |
-----------------------------------------------------------+
The value of inventory is not changed.
why are both values different? which one is standard?