# How to get mysql database data on server to command xbee pro 900hp serial output for connectport x2?

**URL:** <https://forums.digi.com/t/how-to-get-mysql-database-data-on-server-to-command-xbee-pro-900hp-serial-output-for-connectport-x2/12443>\
**Category:** XBee & XBee Gateway\
**Tags:** connectport-x2, xbee-900hp, connectport, php\
**Created:** [January 26, 2014, 10:36pm UTC](https://forums.digi.com/t/how-to-get-mysql-database-data-on-server-to-command-xbee-pro-900hp-serial-output-for-connectport-x2/12443 "2014-01-26T22:36:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![intellipivot](https://avatars.discourse-cdn.com/v4/letter/i/779978/32.png) [@intellipivot](https://forums.digi.com/u/intellipivot)\
**Post date:** [January 26, 2014, 10:36pm UTC](https://forums.digi.com/t/how-to-get-mysql-database-data-on-server-to-command-xbee-pro-900hp-serial-output-for-connectport-x2/12443/1 "2014-01-26T22:36:40Z")

</div>

I have a network of 900 hp xbees. I also have my own server with a mysql database. I would like to program my connectport x2 900hp to

1. get requests from the php scripts to download particular information every x minutes
2. use the downloaded data to then parse, and send out commands to the xbee 900 hp(s) to output serial data for controlling microcontrollers.
