<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 21 January 2015 at 04:11, Stephen Worthington <span dir="ltr"><<a href="mailto:stephen_agent@jsw.gen.nz" target="_blank">stephen_agent@jsw.gen.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">mysql> select * from settings where value='BackendServerPort';<br>
+-------------------+------+----------+<br>
| value             | data | hostname |<br>
+-------------------+------+----------+<br>
| BackendServerPort | 6543 | mypvr    |<br>
| BackendServerPort | 6543 | mypvr    |<br>
+-------------------+------+----------+<br>
2 rows in set (0.00 sec)<br>
<br>
That looks a bit strange as there are two identical rows in the table<br>
- I have no idea why my database would have that.</blockquote><div><br></div><div>It may be that the value has some non-printing or whitespace in it from some weird config in the past?</div><div><br></div><div>Try this:</div><div><br></div><div>SELECT CONCAT(':' , hostname, ':') FROM settings where value='BackendServerPort';</div><div><br></div><div>This will place a colon immediately before and after the value, so you can spot if there's any additional characters in there.</div></div></div></div>