Because you're not reading the data from the query.
You've read in up to 200 results, but are not using them. Where is your while loop? Where is the mysql_fetch_assoc() function to extract the data from each result?
The Cobbler board will connect all of the GND pins together, both of the 5V pins together and both 3.3V pins together.
Yes, that looks identical to the one I got from ebay.